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.
Sum of the Maximums
Sum of the Maximums
Sort by
recency
|
12 Discussions
|
Please Login in order to post a comment
I feel like dp should be capable of helping. Just dont know how to implement. My code so far.
here is my code which passes only few test cases. Can someone help me identify what is wrong with this?
can anyone please solve this question as a maths question on paper and can you please send the photo of the solution with using the given formula
here is hackerrank sum of the maximums solution
Would it possible to optimise this, many testcase failing due to time complexity, as its time complexity is O(n^3)