This coding problem was asked in the technical round of a job fest challenge. Participants clearing this round were selected for IT companies like #microsoft #capgeminioffcampus and many more. I hope you also enjoy the background #music
The #programming language adopted for solving problem is #java