Levelset Interview Question

Problem solving, algorithms and O(n) notations.