WaymoCoding·45 minMembers
Sort Target String by Custom Order
Members only
Onsite coding: given a `target` string and an `order` string, return a permutation of `target` so that characters that appear in `order` are emitted in `order`'s sequence. Characters not in `order` ma...
SWE
string
sorting
hashmap
easy
Frequency
Single report
Last asked
2026-01-23
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
