problem link : https://leetcode.com/contest/weekly-contest-189/problems/rearrange-words-in-a-sentence/
sol : https://ide.codingblocks.com/s/271507
what is exacly problem with comparator function???
and why just by changing (x.length() < y.length()) inside comparator is working fine???