Abusing weakness of glibc's rand().
Construction of convex hull using Graham scan .
Solving of substitution cipher.
Whether or not trees are isomorphic.
Construct Perfect Hash Function from given set.
Solving Josephus problem.
Find equal subsquares in matrix.