Return all permutations of an array of distinct integers — with as little extra space as possible. Too many requests from your network. Please wait a minute.