Frage im Vorstellungsgespräch bei Shopify

Given this sorted string list. Write a code that will split and sort it using specific rules.

Antwort im Vorstellungsgespräch

Anonym

9. Juni 2022

1. Create frequency map of String 2. Traverse pattern and print each character same number of times as it appears in str O(m + n )