Zalora interview question

A program was asked

Interview Answer

Anonymous

Sep 26, 2017

Solved it in 2 ways and was asked to optimize it