OneCompiler

// Problem, take string input -> zzzzttteeeqqaao ...solve it in javascript

193

// Problem, take string input -> zzzzttteeeqqaao

// Sort first based on frequency of characters in desc order, if freq is same, then sort alphabetically in asc order.

// Expected output -> zzzzeeetttaaqqo