1122. Relative Sort Array
Description
**Input:** arr1 = [2,3,1,3,2,4,6,7,9,2,19], arr2 = [2,1,4,3,9,6]
**Output:** [2,2,2,1,4,3,3,9,6,7,19]**Input:** arr1 = [28,6,22,8,44,17], arr2 = [22,28,8,6]
**Output:** [22,28,8,6,17,44]ac
Previous1121. Divide Array Into Increasing SequencesNext1123. Lowest Common Ancestor of Deepest Leaves
Last updated