Threadflip interview code.