Wrong answer in submit but right answer in Test with custom input


For this input
A : [ -3, -2, 1, 15 ]
B : [ -31, -11 ]
In Output by entering test case i am getting -2.5
but when I am submitting I am getting -5
Can anyone help


I was facing the same problem. Just make sure to handle cases when indexes computed for A or B array are more than their sizeā€¦


I was also facing the same problem, refresh the interviewbitpage and then submit