Find the square brackets

Problem Name:
Find the square brackets
Site:HackerEarth
Links:
Tags: