118 Users, 290 Questions

A collection of technical interviews questions in PDF format. pdf
(Last updated on 12/03/2008)


Latest questions | Browse all questions

Integer partition and composition

Views:11,Comments:0,Saved by 1 2009-07-02 08:47:51 | spellscroll

A positive integer N can be expressed as a sum of positive integers.
(1) If two sums that differ only in the order of their summands are considered to ...

Tags: combinatorics(1) puzzle(1) number(1)

Stepping Stones

Views:15,Comments:0,Saved by 1 2009-07-02 08:40:35 | spellscroll

Some stepping stones cross a small river. How many ways back to the bank are there if you are standing on the n-th stone? You can either step on to ...

Tags: puzzle(1) fibonacci(1) number(1)

how many subsets

Views:35,Comments:0,Saved by 1 2009-06-25 08:04:47 | spellscroll

how many subsets does {1, 2, ..., n} have that contains no consecutive
integers? for example, {1, 2} not okay, while {1, 3, 5} okay.

http://www.mitbbs.com/article_t/Quant/31203619.html

Tags: math(1)

spiral order

Views:38,Comments:0,Saved by 1 2009-06-23 06:37:14 | spellscroll

Given a 2-D NxN array, write a program to print it out in spiral order.

Tags: array(1) algorithm(1)

Guess 2/3 of the average

Views:84,Comments:0,Saved by 1 2009-06-11 08:30:57 | spellscroll

Guess 2/3 of the average is a game where several people guess what 2/3 of the average of their guesses will be, and where the numbers are restricted to the ...

Tags: game_theory(1)

Welcome!
spellscroll.com is a collaboratively edited site for sharing and discussing programming interview questions, math puzzles, and brainteasers.