Puzzles


Welcome!


General

 

Dropping 2 glass balls

Measure 45 minutes with 2 strings

8 figurines

12 Marbles

Pails of water

Prisoners and hats

Two islands, one message, and bloodthirsty-thieving pirates


Mathematical

 

Make 24 using 1, 3, 4, 6

Find the average salary

Probability of marbles

Divide adjacent rectangles

The hallway of a thousand doors

Degrees of a clock

Laps around a track

Die Game

Is About A Million

Two-headed coin

20 coins and 2 jars

2 Envelopes

Hardest easy geometry puzzle ever

7 Digit Factor


Programming

 

Detect a loop in a linked list

Reverse a linked list

Rotate a string

Compute factorial efficiently

Stock Buy/Sell

Overlapping Rectangles

Compute Fibonacci efficiently

Telephone Keypad Lookup

Find leaf-to-leaf path in n-ary tree

Min Coins For Change

Maximum contiguous sum

Maximum contiguous monotonically increasing subsequence

Print spiral on matrix

Generate All Permutations of a String


Return home

Last Updated: 2008 Mar 24 Mon 02:40 EDT