Interview question asked to Software Engineers interviewing at Qualys, Jabil Circuit, OneWeb and other companies. Original question asked: Implement the next permutation algorithm..