Last Occurrence

Problem Name:
Last Occurrence
Site:HackerEarth
Links:
Tags:
Problem setters: