First was a leetcode easy. Second was similar to next permutation.
Anonymous
Got the easy LC right, but forgot the return case. The interviewer gave hints during the second question. Probably would have been better if I was thinking out loud more.
Check out your Company Bowl for anonymous work chats.