Custom String Sort by Character Order
Waymo interview questions · Medium · Coding round · reported 2× · 5 tests
Given two strings, order and target, reorder the characters of target so that characters appearing in order follow that precedence.
Run your code with Ctrl+Enter to see results.