Samy's Camera interview question

Logical capability and problem solving