• 10 minutes ago
Transcript
00:00Now let's talk about how this question was different from trapping rainwater
00:04What was given in the question of trapping rainwater?
00:07There were some bars on the top and there was a lot of water trapped
00:14So how is this question from trapping rainwater?
00:17In this question, if I form these two lines in the container
00:20So the maximum area of water will be stored in this area
00:29So the maximum area of water will be stored in this area
00:36Now if there is a lot of water stored in this small pocket
00:40But what do we do in trapping rainwater?
00:44In trapping rainwater we store all possible water in this way
00:49So we can store the maximum water in this area
00:51So the empty area of water is not there
00:54The empty area of water is filled here
00:57And we calculate this water
00:59We have already given the container
01:02What is the container?
01:03The container is in all these bars
01:04And I have to maximize my water
01:08Here I have to make a container first
01:11And I have to make a container
01:12There are only two boundaries
01:14In the container there are multiple boundaries
01:17This is also my container
01:18This is my second container
01:20And this is my third container
01:22And this is my third container
01:22So there are three containers
01:23Forming water stored
01:24Or using the single container
01:25Using water stored
01:26So this is the diagram
01:28I have made it
01:29I have tried to explain it
01:31In the best way
01:31I have tried to explain it
01:33In the same example
01:35In the same example
01:35We can see how the two problems are different
01:37Sometimes we have a question
01:39So we have to confuse it
01:39With trapping rainwater
01:40With container with most water
01:42We don't confuse it
01:43We have to confuse it
01:44We have to solve it
01:45We have to solve it
01:46We have to solve it
01:47But yes
01:48We have to answer it
01:49We can ask the topic
01:51Or you have to ask the area list
01:53You have to solve it
01:54Then we have to solve it
01:55So we can do the maximum questions
01:57What we were doing
01:57With array discussions
01:58We can also do the area lists
01:59With array lists
02:00With our maximum questions
02:01And we can do the area list
02:03them.