Sorted Permutation Help

Revision en1, by aman_naughty, 2019-07-21 17:14:55

Problem link : link

code :

Spoiler

This gives only 23 points on interviewbit and says that the code might be failing for larger test cases. Can someone give a test case where my code might fail. I have tried a lot of test cases and all those cases match the expected output.

Tags #permutation, #interview, #help, #beginner

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English aman_naughty 2019-07-21 17:14:55 1063 Initial revision (published)