Hi Guys, I am getting a test case failed remark in both test cases 4 and 5. Please let me know if my test case is correct or not?
TEST CASE #4 rotated n-1 times
Input:
{‘nums’: [3, 5, 7, 1]}
Expected Output:
3
Actual Output:
3
TEST CASE #5 rotated n times
Input:
{‘nums’: [1, 3, 5, 7, 9]}
Expected Output:
0
Actual Output:
0