Expedia Group Interview Question

Duplicate in arrays , sort map based on frequency