Lecture 99: Articulation Points in Graphs || C++ Placement Series

  Рет қаралды 51,484

CodeHelp - by Babbar

CodeHelp - by Babbar

Күн бұрын

Пікірлер: 90
@akarshitgupta6359
@akarshitgupta6359 Жыл бұрын
thanks for reminding me," Why I started" thanks brother.
@KACodes
@KACodes 2 жыл бұрын
Arey bhaiya.....swad aa gaya.... content++ ...... Consistency ++
@tejasshaha6629
@tejasshaha6629 2 жыл бұрын
OP explanation bhaiya. Ekdam mast relate hua Bridges in graph se. Thanks a lot.
@prashantbirajdar9271
@prashantbirajdar9271 2 жыл бұрын
haa bhaiya samaj aya subkuch badhiya tarike se thank you bhaiyaa..love you
@TechUprise-by-Jyoti
@TechUprise-by-Jyoti 2 жыл бұрын
Thank you bhaiya. Consistency OP 😇✨
@ritikraj26_
@ritikraj26_ 2 жыл бұрын
Pausing the video to appreciate the effort made in the explanation. Thanks a lot.
@smartcoding174
@smartcoding174 2 жыл бұрын
present sir.... consistency ++......god bless you brother 👍
@sumitdebnath7543
@sumitdebnath7543 2 жыл бұрын
u are the best alwayas best babbar bhaiya best...plz continue rakhna bhaiya
@focus.placement5589
@focus.placement5589 2 жыл бұрын
last video samajh mei aaya isliye ye samajh aaya thanksss bhaiaya God bless u ❣♥💚💜🫀
@stith_pragya
@stith_pragya 11 ай бұрын
Thank You So Much for this wonderful video........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@studygainer5482
@studygainer5482 Жыл бұрын
consistency ++......god bless you brother 👍
@pramantomar822
@pramantomar822 2 жыл бұрын
Bhaiya negative comments ko plz ignore karna u r the best and we are always with you Most importantly take care of your health ❣️❣️❣️❣️❣️
@skchoudhary7956
@skchoudhary7956 2 жыл бұрын
Back to consistency💯
@laxmankumawat6728
@laxmankumawat6728 2 жыл бұрын
Last me jo nhi samj aaya woh bi aa gya 💘
@sukhjitsingh959
@sukhjitsingh959 2 жыл бұрын
In this vedio better understanding of concepts only having doubts in child = 0 , child++ so speaking speed is good in this vedio so thanks ...sir
@kunalmodiart
@kunalmodiart Жыл бұрын
you are recursively calling dfs on eachnode for each node he made a child variable and incremented when traversing over the neighbours in the end checked if that node's parent is -1 means that node is a root node and has child more than 1 means removing such node will create disconnected components add that node (root node)in the ans
@sourabh2659
@sourabh2659 Жыл бұрын
​@@kunalmodiart How he is returning to the parent node if that node is already visited?
@Singh_Sahdev
@Singh_Sahdev 11 ай бұрын
That's what recursion and backtracking is, we don't want to visit them, they come after there child call of dfs are over
@rachit_joshi
@rachit_joshi 4 ай бұрын
Thank You So Much BHRATA SHREE !!!!!!!
@vivan1852
@vivan1852 2 жыл бұрын
Consistency++, Present bhaiya
@kunalsharma1740
@kunalsharma1740 2 жыл бұрын
Finally finished the graph series thank you bhaiya!!
@JorawarSingh-n4s
@JorawarSingh-n4s Ай бұрын
thanks babbar sir
@vishalvaishnav8846
@vishalvaishnav8846 2 жыл бұрын
Bhiya Continue RaKhan Sub Viewers a Rahe hai Video dekhte dekhte
@priyabratroutray8184
@priyabratroutray8184 2 жыл бұрын
I think we don't need visit array ,if a node is discovered that means it is visited so for an visited node disc[node] != -1
@sciencestreamers8509
@sciencestreamers8509 2 жыл бұрын
Bhaiya, will meet u after busting Microsoft ❤️
@shahbaz_shaikh_vip100
@shahbaz_shaikh_vip100 Жыл бұрын
Kis company me ho ab
@yashtyagi2107
@yashtyagi2107 2 жыл бұрын
Thanks bhaiaa for giving us hope🙏
@VishalGupta-xw2rp
@VishalGupta-xw2rp 2 жыл бұрын
Swad aa gaya 🔥
@nishankdeep3084
@nishankdeep3084 2 жыл бұрын
thank you bhaiya
@iteself_me
@iteself_me Жыл бұрын
65 ✅completed 👍Liked 10:20
@fazerugbrug439
@fazerugbrug439 2 жыл бұрын
superb
@utsavkumar9734
@utsavkumar9734 2 жыл бұрын
Thanks for the video.
@GuruPrasadShukla
@GuruPrasadShukla 2 жыл бұрын
samajh aagya++
@dEviL_bIsWaJiT
@dEviL_bIsWaJiT 2 жыл бұрын
Thanks a lot bhaiya❤️🔥 *#believeinbabbarbhaiya*
@adarshshrivastava410
@adarshshrivastava410 11 ай бұрын
i have a doubt, suppose the parent of the node is -1 and it does have more than one child.. but still if those child have a connection between them that would mean that our node is not an AP.
@vanshrana7807
@vanshrana7807 8 ай бұрын
consider a graph with 5 nodes {1,2,3,4,5} with edges {(1,2),(2,3),(3,4),(4,1),(5,3),(5,4)} consider nodes 1,2,3,4 as corners of square and 5 as center (better visualization) now consider 5 as source node then parent of 5 will always remains -1, dfs works as 5 -> 4 -> 1 -> 2 -> 3 -> 5 (upto here the child of 5 is only one node (with value=4) now at this point 5 is already visited so you return from 5 -> 3 -> 1 -> 4 -> 5 . tries to move to the 2nd child of 5 which is 3 but already visited and child of node 2 (in dfs computation already) and can't be add to the child of 5 thus the child of source node 5 remains 1(only 4) - as you mentioned "still if those child have a connection between them" yes they have connections in the above graph but the child of 5 remains one. hence 5 (source node) cannot be act as AP. I hope this will explanation will help you. Thanks !!
@pragyaverma2105
@pragyaverma2105 Жыл бұрын
Thank u ji ❤
@sachinbhandare399
@sachinbhandare399 2 жыл бұрын
Bhayyaji 1 June wala surprise kitne baje ayega ?
@Pikachu10-19
@Pikachu10-19 2 жыл бұрын
Consistency++
@KratosProton
@KratosProton Жыл бұрын
great
@akankshapandey9773
@akankshapandey9773 2 жыл бұрын
Thanku sir🙏🏻
@chandradevkushwah932
@chandradevkushwah932 Жыл бұрын
thank you
@KhushiKavya-py1yj
@KhushiKavya-py1yj 3 ай бұрын
9 to go
@KhushiKavya-py1yj
@KhushiKavya-py1yj 3 ай бұрын
1st done
@vishalgarna4580
@vishalgarna4580 Жыл бұрын
❤❤❤❤😊😊😊
@raezungton
@raezungton 5 ай бұрын
Where can we solve this question?
@yashzawar7938
@yashzawar7938 2 жыл бұрын
🔥
@9-1939
@9-1939 Жыл бұрын
🔥👌
@aashishrangdal9614
@aashishrangdal9614 2 жыл бұрын
Consistency++;
@engg.5111
@engg.5111 2 жыл бұрын
💥💥💥
@AbhishekSharma-tm2ko
@AbhishekSharma-tm2ko 2 жыл бұрын
Attendance++
@UdayKumar-gu2sg
@UdayKumar-gu2sg 2 жыл бұрын
Bhaiyya please written notes update kardo bhaiya 🙏🙏🙏🙏
@whatsnext7778
@whatsnext7778 2 жыл бұрын
nice sir
@harikrushnasuhagiya3925
@harikrushnasuhagiya3925 2 жыл бұрын
💗💗
@bkjaipal1126
@bkjaipal1126 2 жыл бұрын
Bhaiya plz grid wale question krawo mainly whi aate h paper me.
@ShivamPandey-xh7cd
@ShivamPandey-xh7cd 4 ай бұрын
Sir what if we have a parent with more than one child, such that each child is connected to one and another, then the Source Node (Zero) Is NOT Actually an Articulation Point then It is considered So as per your algorithm. ??
@arpitraj5826
@arpitraj5826 4 ай бұрын
because this case will be handled by the back edge condition
@RajKumar-vq1nm
@RajKumar-vq1nm 2 жыл бұрын
❤️
@nitinchandel4786
@nitinchandel4786 2 жыл бұрын
Op
@avronilbanerjee5302
@avronilbanerjee5302 2 жыл бұрын
bridges k condition me > but articulation point ke condition me >= aisa kyu kiya sir
@devanshbatra308
@devanshbatra308 2 жыл бұрын
bro did you get the answer?
@iamnoob7593
@iamnoob7593 11 ай бұрын
which means u did not understand bridges core concept.
@hardikjain-brb
@hardikjain-brb 11 ай бұрын
@@iamnoob7593 Aap hi samjha do sir = kyu liya aur !visi[i] mai disc[it] le ya low[it] agar itna hi samajh aa gaya hai aapko>!
@iamnoob7593
@iamnoob7593 11 ай бұрын
@@hardikjain-brb >= because ur reaching the parent node and > for edge(means u r reaching a node before parent).
@amaan1180
@amaan1180 10 ай бұрын
​@@iamnoob7593 bhai can you explain more deeply i am unable to understand this😢😢
@yashnarang3014
@yashnarang3014 2 жыл бұрын
what the point of running in replet instead of vs code
@yashtyagi2107
@yashtyagi2107 2 жыл бұрын
Attendence marked
@harikrushnasuhagiya3925
@harikrushnasuhagiya3925 2 жыл бұрын
💯❣❣💯
@miss_anonymous16
@miss_anonymous16 2 жыл бұрын
Attendence marked!!!!
@tbmsahil8850
@tbmsahil8850 2 жыл бұрын
First view
@jai598
@jai598 Жыл бұрын
where are the parents updated, why there is not any parent array?
@Singh_Sahdev
@Singh_Sahdev 11 ай бұрын
Because in recursion we call every node individually hence the parents are send with call only, so no need of extra data structure for parents, You can make that but this will increase overhead only
@nikhileshratna
@nikhileshratna 2 жыл бұрын
bhaiya zero waale node ko alag se handle krne ki jarurat kyon hai?
@Singh_Sahdev
@Singh_Sahdev 11 ай бұрын
0 nahi agar dfs kahi se bhi start kroge, usko alag se handle krna padega
@vmstudy9965
@vmstudy9965 5 ай бұрын
Bhaiya ye smj to aya but bridge or articulation dono. Complicated lga thoda😢
@Xd-dw7oe
@Xd-dw7oe 2 жыл бұрын
can anyone send the link of this question
@tarangtyagi4371
@tarangtyagi4371 Жыл бұрын
parent == -1 ke case ko alag se kyon handle kar rahe hn?
@sahilnagpal9150
@sahilnagpal9150 Жыл бұрын
brother ek baar 0->1->2 k liye dry run krke dekho without -1 k sath to 0 bhi articulation point aayaga but actually m vo nhi h
@StudentjatinJatin
@StudentjatinJatin 5 ай бұрын
kon kon hai jo 2024 ma kar ra
@satyasuvartha8595
@satyasuvartha8595 Жыл бұрын
Use Hindi for thumbnails also 😢
@Profnegi
@Profnegi Жыл бұрын
bhyi kya chl raha hai. mera dimag itna chota hai kya? :(
@vortexdeo4545
@vortexdeo4545 2 жыл бұрын
Thoda toh mushkil topic
@shalinisaini3787
@shalinisaini3787 12 күн бұрын
Thank You So Much for this wonderful video........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@animeshpandey2911
@animeshpandey2911 2 жыл бұрын
op
@shadab_196
@shadab_196 Жыл бұрын
bridges k condition me > but articulation point ke condition me >= aisa kyu kiya sir
@Singh_Sahdev
@Singh_Sahdev 11 ай бұрын
Bhai abhi abhi samajh aya
@Singh_Sahdev
@Singh_Sahdev 11 ай бұрын
Deakho agar bridge check krna hai and 0->1 ke beech me 2 edges hui to koi bhi ek edge bridge nhi hogi But articulation point ke case me chahe 0->1 ke beech kitni bhi edges ho 0 articulation point hi hoga To mere kehene ka mtlb hai ki bridge ke liye ek back edge agar parent tk bhi hogi to bridge nhi hoga hence used > sign And articulation point me ek backedge uske parent ke parent tk honi chahiye tabhi articulation point nhi hoga hence used >= sign
@nijalpatel5281
@nijalpatel5281 2 жыл бұрын
op
Lecture 101: Bellman Ford Algorithm || C++ Placement Series
22:06
CodeHelp - by Babbar
Рет қаралды 68 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,7 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 186 МЛН
G-56. Articulation Point in Graph
22:00
take U forward
Рет қаралды 107 М.
Lecture 98: Bridges in a Graph || C++ Placement Series
25:13
CodeHelp - by Babbar
Рет қаралды 73 М.
Lecture 86: BFS Traversal in Graph || C++ Placement Series
23:39
CodeHelp - by Babbar
Рет қаралды 245 М.
Find Articulation Points using Tarjans Algorithm | Cut vertex
33:55
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 18 М.
Lecture 95: Dijkstra's Algorithm || C++ Placement Series
35:55
CodeHelp - by Babbar
Рет қаралды 159 М.
Articulation Point in Graph Algorithm Detail | Graph Theory #20
40:32
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 19 М.
Lecture 42: OOPs Concepts in C++ || Part-1
1:29:14
CodeHelp - by Babbar
Рет қаралды 1,6 МЛН