</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Amazon Questions

Custom Alphabet String Sorting

Easy

Question

The string customOrder spells out a made-up alphabet, and words is a list of strings to arrange in lexicographical order under it. Characters are ranked by their position in customOrder, not by the usual alphabet: whichever character appears earlier there ranks first. ...

Asked at:Amazon

More Amazon interview questions

All Amazon interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.