FinBox interview question

Given problematic question and said to solve it.