contains max water has linear time solution it is cool