Back to course home
0% completed
Vote For New Content
The Solution is not correct
Shaho Shahbazpanahi
May 19, 2025
For this input [1,2,3,4,5,6,7,8,9,10,11] and k= 3, then expected output should be [3,2,1,6, 5, 4,10, 8,9,11, 10] while the solution give us [3,2,1,6, 5, 4,10, 8,9, 10, 11] , the problem stats if the rest of lis is smaller than k, revese it to .
0
0
Comments
Comments
On this page