Sequential terms

Problem Name:
Sequential terms
Site:HackerEarth
Links:
Tags: