Monsoon (India) interview question

Coding test was based on data structures and I would recommend to practise before attempting the test.