Crimson Interactive interview question

as mentioned earlier nothing difficult