Audible Interview Question

Candy Crush problem: data structures.