Bob and Indices

Problem Name:
Bob and Indices
Site:HackerEarth
Links:
Tags:
Problem setters: