Trapping Rain Water (Leetcode 42) - Hard

  Рет қаралды 9,073

CodingWithPrakash

CodingWithPrakash

Күн бұрын

Пікірлер: 35
@Allinone-ou2gr
@Allinone-ou2gr 4 ай бұрын
Thankyou sir❤
@justfun4976
@justfun4976 Жыл бұрын
Unique optimize solution I ever seen
@prakashsingh1107
@prakashsingh1107 Жыл бұрын
best explanation i founded on youtube in java ....please make this type of video
@9a56mahabirjaiswal9
@9a56mahabirjaiswal9 2 жыл бұрын
what a solution is this!!! Mind-blowing solution
@prakashsingh1107
@prakashsingh1107 Жыл бұрын
best explanation brother
@rahuldwivedi9236
@rahuldwivedi9236 2 жыл бұрын
bhai firse zeher
@nikhildwivedi2106
@nikhildwivedi2106 2 ай бұрын
Bhai apna leetcode ke problem ki iss series of 1000 tak le jao please aaap bahut accha padate ho.
@CodingWithPrakash_
@CodingWithPrakash_ 4 жыл бұрын
✅ Useful Links 𝐂𝐨𝐮𝐫𝐬𝐞𝐬 - www.codingwithprakash.com/learn 𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 - instagram.com/codingwithprakash/ 𝐖𝐡𝐚𝐭𝐬𝐀𝐩𝐩𝐂𝐡𝐚𝐧𝐧𝐞𝐥 - whatsapp.com/channel/0029VaACtTa4tRrpDCQc5f44 𝐋𝐢𝐧𝐤𝐞𝐝𝐢𝐧 - www.linkedin.com/in/prakash-shukla/
@9a56mahabirjaiswal9
@9a56mahabirjaiswal9 2 жыл бұрын
how you will get this intuitive of finding right max ,I can't able to reach this level intuition of finding right max on my own ?
@9a56mahabirjaiswal9
@9a56mahabirjaiswal9 2 жыл бұрын
Those who are seeing this solution ,i have a request to like and comment this solution so that it will show as top solution in KZbin search . It will save lots of time of other 🙏🙏🙏🙏🙏🙏🙏 After seeing many and many solutions of this problem of two pointer approach ,i wasn't able to understand .But this solution is just like the way i am approaching at least to some extent
@konarkyadav4515
@konarkyadav4515 2 жыл бұрын
Hi Prakash, Keep making dsa related videos. I have found your explanation the best till now.
@aviralkaushik9425
@aviralkaushik9425 2 жыл бұрын
great sir👌easy to understand
@davinder95
@davinder95 2 жыл бұрын
very nyc thankyou
@narendrakumariitb
@narendrakumariitb 2 жыл бұрын
Wow thanks Prakash. Your explanation made this problem from Hard to Easy👏.
@shasvatjain1579
@shasvatjain1579 2 жыл бұрын
No words to express my gratitude towards your knowledge sharing skill sir, thanks a ton 😊
@ayushmishra9100
@ayushmishra9100 3 жыл бұрын
man u just killed it simply incredible solution !!!!
@adititripathi8797
@adititripathi8797 Жыл бұрын
Such accurate explanations of the problems are available on this channel!! good work!!
@CodingWithPrakash_
@CodingWithPrakash_ Жыл бұрын
Glad to hear that!
@jaypatel3618
@jaypatel3618 2 жыл бұрын
Thankyou so much Sir!! Truly helped
@rimajain2374
@rimajain2374 3 жыл бұрын
Good one
@aniruddhachunne3011
@aniruddhachunne3011 2 жыл бұрын
main ne support kiya.. sir
@HimanshuSharma-ye5hw
@HimanshuSharma-ye5hw 8 ай бұрын
At 22:50 how it can be right max for both as in 2nd part we are iterating from right to left
@buildleadinnovate24
@buildleadinnovate24 3 жыл бұрын
could you tell what is brute force technique??
@koshivsharma5876
@koshivsharma5876 3 жыл бұрын
Keep it up bro This video is really easy to understand logic
@BHARTGUPTABEC
@BHARTGUPTABEC 3 жыл бұрын
Thanks sir for explaining from normal to optimised form
@CodingWithPrakash_
@CodingWithPrakash_ 3 жыл бұрын
Always welcome
@ankurrawat5156
@ankurrawat5156 2 жыл бұрын
bro what changes will be required in this code if width will be given * container with most water(in leetcode)* please share the code of that scenario
@Amankumar-sg3bb
@Amankumar-sg3bb 3 жыл бұрын
Best Soln of this problem
@CodingWithPrakash_
@CodingWithPrakash_ 3 жыл бұрын
Glad you think so
@ramanmanocha4800
@ramanmanocha4800 4 жыл бұрын
Amazing video!! Will it be possible for you to create some Low Level Design Videos? Thanks in advance
@CodingWithPrakash_
@CodingWithPrakash_ 4 жыл бұрын
I will try...
@sunny-14689
@sunny-14689 4 жыл бұрын
Do you mean we are finding "rightMax" in part2 ?
@CodingWithPrakash_
@CodingWithPrakash_ 4 жыл бұрын
Center building is rightmax for both part 1 and part 2 Part 1 O to centerbuiding Part 2 n-1 to centerbuilding
@sunny-14689
@sunny-14689 4 жыл бұрын
@@CodingWithPrakash_ Cool, I guess its perspective of what we call left/right in part 2, but nice video !
@CodingWithPrakash_
@CodingWithPrakash_ 4 жыл бұрын
Yes, you are correct
Trapping Rain Water - Google Interview Question - Leetcode 42
23:21
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 78 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
L8. Trapping Rainwater | 2 Approaches | Stack and Queue Playlist
28:58
Winning Google Kickstart Round C 2020
30:57
William Lin (tmwilliamlin168)
Рет қаралды 4 МЛН
Worst leetcode hard problem - Text Justification : 68
13:06
Destination FAANG
Рет қаралды 2,9 М.
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
System Design Interview - Top K Problem (Heavy Hitters)
36:18
System Design Interview
Рет қаралды 376 М.
Trapping Rainwater | Brute | Better | Optimal | with INTUITION
23:23
take U forward
Рет қаралды 280 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН