Pick out the correct statement about permutation.

a) If the function can determine the next higher permutation, Returns false
b) If the function can determine the next higher permutation, Returns true
c) If the function can’t determine the next higher permutation, Returns true
d) If the function can determine the lower higher permutation, Returns true

1 thought on “Pick out the correct statement about permutation.”

  1. b
    Explanation: If the function can determine the next higher permutation, it rearranges the elements as such and returns true.

Leave a Comment