← Barclays questions
CodingEasyReported in a candidate post, Nov 2019

Lexicographical ordering of strings

Filed under Barclays

Given a list of strings, sort them in lexicographical (dictionary) order. Handle case sensitivity or custom ordering if required.

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 Barclays questions

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