We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Find Maximum Index Product
Find Maximum Index Product
Sort by
recency
|
118 Discussions
|
Please Login in order to post a comment
Is it just me or should test Case 0 and 11 should have zero as the answer? the queestion state you want strcitly greater than not equal? Since 0 and 11 are just huge inputs of the same number there is no a_j or a_k that is greater than a__i
hello, this is really weird. This solution scores 100% Yet if you test it with inputs : 5 2 1 1 1 5 It should return 5, and yet it returns 0
This is my solution in python3
i have 4 test cases failing in python . Kudos to who ever got it working for all test cases and thanks for sharing the solution.Good to know there's a solution.
Gist for 4 failing test cases
C++ solution, need to change all int to long to pass all test cases