Adobe interview question

2 leetcode questions 1) Sort color 2) Merge two arrays