Generate all permutations

0
Remix

Return every ordering of a list of distinct numbers using backtracking. Follow-ups may include input with duplicates (skip repeats) and the time cost. In the reported round a second short task on image retrieval followed.

AppleCodingLast asked Mar 2026
No answer yet. Write the first one; the best answer gets endorsed.