InterviewBit Problems   Max Distance : Unsolved

About the Max Distance : Unsolved category (1)
Video Tutorial: (10)
Wrong Answer of Test case... Why 239? (4)
The hints and solution approch is missleading (1)
Please can anyone tell me what wrong with this python code (1)
Wong Editorial solution! (1)
Gives Partially Correct due to TLE... Why? (3)
Please point out the mistake in the code:) (2)
Helped me solve this -> (1)
Need clarification on question (2)
How to optimize it i want to use this recursive way only but need to optimize it (1)
Weird Runtime/inconsistent behavior of Code (1)
O(n) solution in C++ without sorting using minimum array from left and maximum array from right (1)
Title of your comment A : [ 3, 2, 1 ] whats the output? (2)
What and whyyyy! (3)
How will the problem change if there is a strictly less than condition? (1)
O(n) Solution without sorting (2)
O(n) solution....C++ (2)
Expected answer for{100,100,100,100,100} (2)
Incorrect question description (2)
Max distance - Why sorting is required? (3)
Getting wrong output using c++ (point out the error) (1)
Why test case answer is 239 instead of 238 (2)
People who are trying please note, i==j is a valid case (1)
PC Compiler shows correct output ie. 0 for [3,2,1] but not getting accepted in here (1)
Got the solution (1)
Return -1 condition (2)
You should state what is the desired time/space complexity! (1)
Please check my code (7)
Any insights ? The test case expects 1 and I can't figure out how. Any help (3)