Optimal Approach O(n) Time


#1

[Click Here]