Backbase interview question

Hackerrank practical excercise withn 48 hrs