Container Containing Most water

How did you figure out that we need to implement two pointer approach , how did you got intution ?