Your lecture is like DFS...go core and core until nothing left to explore. Amazing clarify on build blocks of everything!!
@sumitvishwakarma10758 ай бұрын
Bhaiya providing every knowledge of DSA totally free which you can't also get in high paid DSA courses Hats off to you Bhaiya😇😇❤❤
@dealseasy3638 ай бұрын
Lecture Before Breakfast... As always Well Explained.👍
@hiteshsharma50348 ай бұрын
🎉🎉🎉🎉 Missing your lectures due to exams🥲 restarting soon
@OK-ku8ez6 ай бұрын
DFS traversal using stack : DS used : 1) Stack for storing the nodes to be explored 2) Vector for storing next indexes to be explored (Also for checking visited or unvisited node) vector dfsOfGraph(int V, vector adj[]) { vectorans; vectorexploreIndex(V,-1); stackst; ans.push_back(0); exploreIndex[0]=0; st.push(0); while(!st.empty()) { //take out the node int node=st.top(); //take out the index for exploration int j=exploreIndex[node]; //explore while(j
@newglobal72718 ай бұрын
This is the best course i can say , Thank You Rohit Bhaiya ❤❤❤🙏🙏🙏
@vivek-he5ry8 ай бұрын
day 3/60 ✅ Excellent Explanation Bhaiya... example of corona was really helpful. 😀
@nidhiraj96868 ай бұрын
Bfs,dfs travelsal of graph done ✅✅ nice explanation bhaiya. Boht easily samaj aa gya sab kuch ❤❤
@kamleshregar58805 ай бұрын
bro your lecture on graph is very good .i always fear from 3 topics tree,graph and DP ,but after watching your lectures on tree and now graph i am able to understand tree and graph in a good way and able to solve problems. thank you Bhai for your lectures.
@SARDARAFNANAFZAL3 күн бұрын
Brother your teaching method is amazing .thank you brother ❤😍.
@pavanyadav30924 ай бұрын
the most underrated teacher on youtube.
@bepositive.294 ай бұрын
Yes brother
@surajadhikari.7 ай бұрын
Thank you bhaiya for this incredible content and also mentioning Nepal in DFS. I am from Nepal and following you from couples of month. Thank you from bottom of my heart for amazing content.
@Alokankit6276 ай бұрын
Loving your graphs series, sir please try to add many problems into this playlist 🙏🙏, thanku so much sir for providing such a quality content consistently
@yashwanth41203 ай бұрын
bhaiya aap kithna achha padate hoo... So that no confusion is left after the video. thank you so much for the efforts.
@KashafZia-d7pАй бұрын
oh what a mindblowing explanation....Hats off sir
@zafrul_islam8 ай бұрын
maja aa gya bhaiya (corona and travelling wala concept )👌👌👌
@DeepakKallal-ds1xnАй бұрын
Thanku sir apne kafi aache se samjhya collage Wale tho hawa main samjha dete hai sab. Meri presentation hai iss topic par tho esi trike se main unko chamka dunga thanku sir ❤👍😊
@vaibhav28312 ай бұрын
19:40 coorect me if i am wrong is it bsf somewhat si,ilar to level order treversal from tree
@anupammishra65148 ай бұрын
Best explanation bhaiya ❤❤🎉🎉🎉🎉🎉
@anshyoutuber16084 ай бұрын
Best Part of Real life Example ❤❤❤
@Codewithkumar-gc1kr2 күн бұрын
best video for BFS and DFS
@heetpatel30377 ай бұрын
Jai shree Ram ❤️ Bhaiya ek dum OP lecture AAPSE EK DIN ZARUR MILNA HAI
@Sanataniblood-mb5pu5 ай бұрын
Your efforts are Unbelievable bhaiya thank for providing such best content to us ❤❤
@Swiftie036 ай бұрын
Great explanation ❤
@kishan47356 ай бұрын
You lecture given good understanding as well as thinking ability it help to improve me
@vivekpaliwal1876Ай бұрын
Linklist b to use kr skte hai adjacent list me....bs pointer change kr k remove ho jaega node
@Historyfact-fo8zf8 ай бұрын
Sir trie par video kab lekar avoge
@deepanshumohan61828 ай бұрын
Thanks for the great lecture @coderarmy #RohitNegi. Watching this at midnight. Really great efforts.
@arunnishad77335 ай бұрын
Thank you!!!, very good explanation , I have been suffering from understanding the bfs and dfs traversals till date but now it's all clear
@ManojSinghRawat-x2w8 ай бұрын
chamak chuka hai bhaiya😊
@AdityaSharma-vd7boАй бұрын
Bhaiya iss janam mein toh ho gaya was good😂😂😂😂 42:04
@PixelofficialmohitАй бұрын
Thank you bhaiya ji ❤
@ankushladani4968 ай бұрын
Bhaiya same algorithm 2 queue ki help se implement kar sakte hai kya?
@monikumarbiswas-c7e8 ай бұрын
thanks a lot vaiya .. waiting for this video . love from Bangladesh ..🥰🥰
@imran35098 ай бұрын
maja aaya ,rohit ji kya gate aur dsa prep saath mein ho sakti hai ? currently in 5th sem i want to score good in gate 2025 but placement ka bhi dar lagta hai
@divyanshsharma6738 ай бұрын
Amazing content as always 🔥🔥🔥
@pawankr.62738 ай бұрын
Day - 03/60 #60DaysOfCode DSA++
@sdtedit51658 ай бұрын
bhaiya ham chahte hai ki aap hame C++ DSA se ek bada project bhi banvana jisme sare concept use ho or bahut kuch sikhne ko mile kyuki KZbin par c++ dsa ke achhe project nahi please bhaiya ..
@joydeep-halder7 ай бұрын
H/W Solution for dfs using stack: vector dfsOfGraph(int V, vector adj[]) { vector ans; vector visited(V, 0); stack st; st.push(0); int node; while(!st.empty()){ node = st.top(); st.pop(); if(!visited[node]){ // Handles the cyclic graph ans.push_back(node); visited[node] = 1; } // Traversing from right to left so that // the leftmost node gets popped out first for(int j=adj[node].size() -1 ; j>=0 ; --j){ if(!visited[adj[node][j]]){ st.push(adj[node][j]); } } } return ans; }
@rejaulislam25933 ай бұрын
chamak gaya sir j alhamdulillah
@ChukuKumar-bj5ni3 ай бұрын
bhaiya can we traverse singly linked list
@YashNegi-qr6ze2 ай бұрын
nice lecture ❤
@utkarshsingh092 ай бұрын
All concepts clear!!
@ThepokeSUST8 ай бұрын
what if ,when graph is not connected, then how to do traverse
@souravjyoti642 ай бұрын
correct
@gautamkumarverma29298 ай бұрын
please Discuss Time complexity as well,Bhaiya 😃
@nanumix31675 ай бұрын
note: 41:22
@chanchalsoni75356 ай бұрын
consider urself damn lucky...if u r studying from this person..😌💓
@joshiarmy1233 ай бұрын
Nice lecture
@bharatmalik27568 ай бұрын
Chamak Gya Bhaiya 🔥🔥
@rashisahu85117 ай бұрын
Amazing explanation
@sauravdhar16968 ай бұрын
Bhaiya graphs ke approx kitne lectures honge?
@dawooddawoodahmad65218 ай бұрын
sir i am waiting for your prims and kruskal algorithm lecture please
@JatinGupta-k8n8 ай бұрын
Bhaiya please upload shortest path ,dp and greedy series
@swatiyadav33886 ай бұрын
Bhaiya the code for BFS will not work for disconnected graph ........?
@CoderArmy96 ай бұрын
Ye code srf connected graph pe work karega, aage ke lecture mein sab cover kiya hai, don’t worry 💙
Bhaiya, I really want your mentorship. Could you help me bhaiya?
@AbhishekKumar-lp7wy8 ай бұрын
Good morning bhaiya ❤
@allinonemoviesyt8 ай бұрын
@letsk91888 ай бұрын
pura lecture hi mast tha
@ujjwal028 ай бұрын
Day 3/60✔
@Ramgangakumar2 ай бұрын
sir corona virus ka example nhi lena chahiye tha 😢😢
@Nebula_official_258 ай бұрын
Good morning🌞🌞 bhaiya
@seekingsoul8718 ай бұрын
Bhaiya Maja aa gaya.
@itshirdeshk8 ай бұрын
Day 199 ✅🔥
@JASHANPREETSINGH-wx7du2 ай бұрын
chaa gye sir
@machinecode2.0478 ай бұрын
Good morning sir 🌅
@uttej13908 ай бұрын
12:00 level sab ke niklenge🤣🤣😅
@Harshmishra00078 ай бұрын
Ram ram bahi❤
@YashSaini0078 ай бұрын
Bhaiya Radhe Radhe 🙏
@shubhamkumarjha91928 ай бұрын
Good morning boss...
@yatindanger8 ай бұрын
Day 03/60 completed #60DaysOfCode
@Code_with_Tiwarijii8 ай бұрын
Chamak gya bhaiya
@ishitamaithani12078 ай бұрын
Bhaiya day 4 ki video😌
@sharadjishukla32978 ай бұрын
Day 3 Done ✅
@bishalpaul187 ай бұрын
Bhai m 2- 3 video dekh chuka hu bfs ka lekin aaj tak samajh nhi aaya ,yaha par bhaiya corona virus ka example deke samjha diye ab kabhi nhi bhulunga😊
@Kirito_kirigaya13_118 ай бұрын
Thanku bhaiay❤
@jitDhank048 ай бұрын
Day 3 🔥🔥
@simisimi93627 ай бұрын
thank you bhaiya
@kartikay01117 ай бұрын
kal exam hai aur aaj apke video ne bacha liya
@OK-ku8ez6 ай бұрын
Can anyone tell me the error in my code. Please! //We will use two stacks //1st one for storing node(vertex) //2nd one for storing index from where next time unvisited nodes will be checked stacknode; stackindex; //Prevent iteration to begin from start vectorvisited(V,0); vectorans; //Starting from 0th node node.push(0); index.push(0); visited[0]=1; ans.push_back(0); while(!node.empty()) { int j=index.top(); for(; j
@yashparashar67818 ай бұрын
Day 03 ✌
@YashSaini0078 ай бұрын
Day - 03/60 #60DaysOfCode
@satyam69436 ай бұрын
Exam se ghatiya chiz kuch nhi jab bhi consistently Karo usi samay exam aake consistency bigad deta hai😡😡
@internetuser_15 ай бұрын
Same 😢
@Vardanaggarwal6 ай бұрын
concept ++
@monikumarbiswas-c7e7 ай бұрын
vaiya , please write code without class ,. love from bangladesh
@Historyfact-fo8zf8 ай бұрын
Sir ase Tu maja nai ayga apke video ka इंतजार karte karte Tu बहुत देर हो जाएगी so please consistency sir
@CoderArmy98 ай бұрын
Bro video mon-fri aaygi, btya th video mein
@Historyfact-fo8zf8 ай бұрын
@@CoderArmy9 thanks for reply bro you are great ❤❤❤