Hackerrank Problem, Array Manipulation python solution is given in this video. As the problem is under Hard Section so it explanation is provided. The problem is solved in python language with full explanation.
If you don't understand that how it is getting "max" then dry run the loop (for i in list) and you will get to know the answer.
Important Links :
Subs Channel :: / @runekingsachin
Facebook :: / imruneking
Instagram :: / imruneking
Twitter :: / imruneking
Thank You.
Jai Hind.