25 Reputation Points
Ranked #1K
- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #44.2K
Re: Hello I'm thinking in a way, but I don't know if it can be implemented in O(n) way first, we take the integral of the array for example A = [1,2,3,4,5] would give us the integral B = [1,2,6,10,15] then we shall find the maximum difference between two items in … |