Piramal Finance interview question

Questions based on medium level dp