Map of Highest Peak | Leetcode 1765

  Рет қаралды 4,542

Techdose

Techdose

Күн бұрын

This video explains Map of Highest Peak using the most optimal multi source bfs.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
🟣 𝐂𝐡𝐞𝐜𝐤𝐨𝐮𝐭 𝐚𝐥𝐥 𝐨𝐮𝐫 𝐂𝐨𝐮𝐫𝐬𝐞𝐬: techdose.co.in/
🔵 LinkedIn: / surya-pratap-kahar
🔴 INSTAGRAM: / techdose_official
🟢 𝐓𝐞𝐜𝐡𝐝𝐨𝐬𝐞-𝟏𝟎𝟎 𝐬𝐡𝐞𝐞𝐭: docs.google.co...
---------------------------------------------------------------------------------------------------------------------------------------------------------------
𝐂𝐎𝐃𝐄 𝐋𝐈𝐍𝐊: gist.github.co...

Пікірлер: 29
@xlr8tanmay
@xlr8tanmay 10 күн бұрын
Thanks a lot for your explanations. I am able to see myself improve day by day..
@techdose4u
@techdose4u 10 күн бұрын
great
@akashdeshpande4350
@akashdeshpande4350 10 күн бұрын
Thanks!
@techdose4u
@techdose4u 10 күн бұрын
welcome
@shyamaharihar2425
@shyamaharihar2425 11 күн бұрын
Great explanation thankyou !
@techdose4u
@techdose4u 11 күн бұрын
welcome
@programming6177
@programming6177 11 күн бұрын
Thank you bro😇
@techdose4u
@techdose4u 10 күн бұрын
welcome :)
@vlnsrikanth3242
@vlnsrikanth3242 11 күн бұрын
Thank you so much! Its crtystal clear!
@techdose4u
@techdose4u 11 күн бұрын
great
@sailendrachettri8521
@sailendrachettri8521 10 күн бұрын
Thank you sir :)
@techdose4u
@techdose4u 10 күн бұрын
welcome :)
@Jarvie0715
@Jarvie0715 11 күн бұрын
This problem is very similar to 407 Trapping Rain Water II several days ago. When should we use a queue and when should we use a min heap?
@techdose4u
@techdose4u 11 күн бұрын
queue for levelorder minheap for greedy shortest path type
@alessandrocamilleri1239
@alessandrocamilleri1239 11 күн бұрын
Both could be used in this case. However there is no need for the priority queue since heights are always increasing by 1 and level order bfs would do just fine.
@WebDevAnjali
@WebDevAnjali 11 күн бұрын
i feel so dumb at dsa that i can't come up with these solutions on my own it's been around 4 months since i started my leetcode journey it feels like i'm wasting my time.
@techdose4u
@techdose4u 10 күн бұрын
It will take a lot of time. It is an advance concept, not a simple BFS. Maybe anyone will talk & show that its simple but believe me it is not.
@chanakyay3822
@chanakyay3822 10 күн бұрын
sir , do you solve it on first try for all the daily problems? will you get struck or take any help? i am trying very hard daily sir , i can solve few and could'nt few , for this questuon i did not get the intution at all.
@techdose4u
@techdose4u 10 күн бұрын
it is not easy at all. This is similar to rotten oranges problem. only if you can recall its simple else hard.
@shivyanshgarg2641
@shivyanshgarg2641 11 күн бұрын
Sir, If you have time, Please upload problem D solutions of the contests as well Video Request for-> 3430. Maximum and Minimum Sums of at Most Size K Subarrays
@techdose4u
@techdose4u 10 күн бұрын
Currently we are only following daily challenges due to time constraint.
@shivnathkahar8985
@shivnathkahar8985 11 күн бұрын
Nice
@techdose4u
@techdose4u 11 күн бұрын
thanks
@Anikait-h3d
@Anikait-h3d 10 күн бұрын
just a easy version of leetcode daily saturday ka. Could do this easily because of ur previous explanation.
@techdose4u
@techdose4u 10 күн бұрын
nice
@Gautamkumar-ys6hc
@Gautamkumar-ys6hc 10 күн бұрын
This problem looks similar to rotten orange problem
@techdose4u
@techdose4u 10 күн бұрын
exactly. i forgot to mention that in the video :)
@Shubhammi1100
@Shubhammi1100 11 күн бұрын
bro use hinglish like codestorywithmik
@techdose4u
@techdose4u 11 күн бұрын
Sorry, it will always be english here :)
Check if Array Is Sorted and Rotated | Leetcode 1752
15:11
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 787 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Grid Game | Leetcode 2017
21:51
Techdose
Рет қаралды 7 М.
Count Servers that Communicate | Leetcode 1267
11:51
Techdose
Рет қаралды 4,3 М.
Map of Highest Peak - Leetcode 1765 | Breadth First Search
10:29
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 828 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 246 М.
The Bad State of INDIAN PODCASTS
14:46
Slayy Point
Рет қаралды 6 МЛН
Map of Highest Peak - Leetcode 1765 - Python
14:47
NeetCodeIO
Рет қаралды 8 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН