diff --git a/Day-21/q2 : Container With Most Water/Solutions b/Day-21/q2 : Container With Most Water/Solutions new file mode 100644 index 00000000..1c3e25a2 --- /dev/null +++ b/Day-21/q2 : Container With Most Water/Solutions @@ -0,0 +1,19 @@ +class Solution { + public int maxArea(int[] height) { + int area=0; + int i=0; + int j=height.length-1; + while(i