Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in --d --h --m --s-- days -- hours -- minutes -- seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 13d 04h 26m 52s13 days 4 hours 26 minutes 52 seconds.
Topic
Puzzles test whether you can find structure in an unfamiliar problem quickly, which is why interviewers use them as warm-ups and as tie-breakers.
113 free, 138 with Premium.
A puzzle is a problem with an unusual setup and a short solution once the right viewpoint is found. Interviewers watch how you explore: trying small cases, naming what stays fixed, and explaining your reasoning out loud before the answer appears.
Solve n = 1, 2, 3 by hand and look for the pattern before attempting a general argument.
Find a quantity, such as a parity or a sum mod k, that no move changes. If the start and target differ in it, the target is unreachable.
Start from the goal state and ask what must have happened one step earlier. This often collapses a large search.
Put n + 1 objects into n boxes and some box holds two. Many existence questions reduce to choosing the right boxes.
Problems marked with a lock are part of Premium.