← Deutsche Bank questions
CodingReported in a candidate post, Aug 2019

Sort URLs by frequency and lexicographical order

Filed under Deutsche Bank

Given a list of URLs, sort them in descending order of their occurrence frequency. If frequencies are equal, break ties by ordering them lexicographically.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Deutsche Bank questions

Collected from public candidate posts and coding forums. Updated Nov 2026.