Don't understand the test case expected result


#1

I cannot see why may solution is wrong with the tests case:
A[… ->65->39->99->69->32->94->36->87-> … ]
B : 31 - No.31 is 39
C : 35 - No.35 is 94

My solution results in
[… ->65->94->99->69->32->39->36->…], but the expected is
[… ->65->94->32->69->99->39->36->…].

Why is that? Did I misunderstand the requirements?


#2

You are just swapping the elements at B and C position but the question asks to reverse all the elements from B to C(both included).