Sort those Squares!

Problem Name:
Sort those Squares!
Site:HackerEarth
Links:
Tags: