You have to write a java method which consumes 2 string params. The first one is an arbitrary string, e.g. "Azcba1" The second one is an arbitrary alphabet, e.g. "123AaBbCcZz". And return the ordered string according to the custom alphabet, e.g. " 1Aabcz" Requirement: O(N + M) for complexity.
iliagon/test_tasks
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|