Amdocs interview question

Next Permutation is a problem statement on leetcode SQL Update Create Truncate Puzles