Ezvor

760. Find Anagram Mappings

EasyArray Preparing judge… LeetCode
ArrayHash Table

Hints

Hint 1
Create a hashmap so that D[x] = i whenever B[i] = x. Then, the answer is [D[x] for x in A].