BFS and DFS algorithm for GRAPHS in Data Structures

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2018
  • BFS and DFS algorithm for GRAPHS in Data Structures is explained with example. Breadth first search , Depth first Search.

ความคิดเห็น • 58

  • @billaali29
    @billaali29 4 ปีที่แล้ว +1

    Explaining wholeheartedly... Keep the quality work up !!!

  • @egemen_ozturk
    @egemen_ozturk 2 ปีที่แล้ว

    This channel's value is incalculable.

  • @dennismuthuri6661
    @dennismuthuri6661 4 ปีที่แล้ว

    Sir you are graced in these matters. Thanks for the explanation.

  • @Hitesh54321
    @Hitesh54321 3 ปีที่แล้ว +3

    Thanks dada for posting these videos, your content is very genuine and very easy to understand. Wish you all the success :)

  • @swanh6249
    @swanh6249 5 ปีที่แล้ว +4

    You are very good at explaining! Thank you so much for helping me understand these concepts. You should do videos on KDtrees and BTrees too.

    • @mdsaif4696
      @mdsaif4696 5 ปีที่แล้ว +1

      can you give me working code for this

  • @prateektripathi100
    @prateektripathi100 5 ปีที่แล้ว +1

    Awesome Explanation...you are great sir...

  • @manto7
    @manto7 3 ปีที่แล้ว

    Simply the best explanation

  • @lilyk7014
    @lilyk7014 2 ปีที่แล้ว

    Thank you so much sir for explaining this concept ,your explanation is very clear and your channel is one of my favourite

  • @sanjaysingh5007
    @sanjaysingh5007 5 ปีที่แล้ว +1

    sir your videos sre very good waiting for more videos on algorithms.

  • @prnk139
    @prnk139 4 ปีที่แล้ว

    Awesome Explaination !!

  • @lathakumarasamy1632
    @lathakumarasamy1632 4 ปีที่แล้ว

    your explanation is very nice sir

  • @watchmyplaylisttoopenyoureyes
    @watchmyplaylisttoopenyoureyes 5 ปีที่แล้ว +1

    Thanks

  • @adarshgupta9272
    @adarshgupta9272 4 ปีที่แล้ว

    great video sir

  • @sudipsen3677
    @sudipsen3677 3 ปีที่แล้ว

    Nice explanation Sir ❤️

  • @gouravsharma2755
    @gouravsharma2755 4 ปีที่แล้ว +1

    Very good explanation.Please add more videos for DP and backtracking and also explain why we need to use DP and backtracking.Direct answers are difficult to understand for DP.

  • @chandanchakraborty6787
    @chandanchakraborty6787 5 ปีที่แล้ว

    please make an of circular linkedlist...it's very important .
    thank you

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 4 ปีที่แล้ว

    Superb sir...

  • @debaduttapanda1055
    @debaduttapanda1055 3 ปีที่แล้ว

    sir you are amazing

  • @shikharsrivastava6860
    @shikharsrivastava6860 3 ปีที่แล้ว

    Excellent explanation sir.
    Sir can u please write the code for DFS traversal in the video and explain it

  • @salalamjad1218
    @salalamjad1218 5 ปีที่แล้ว +1

    please, make a video on applications of DFS and BFS like strongly connected componenets and topological sort. These topics are also part of my course which i am taking now a days.

  • @mrsukki8158
    @mrsukki8158 3 ปีที่แล้ว

    Y u looks so innocent sir
    Thanks sir it's really helpful

  • @utkarshgoyal6606
    @utkarshgoyal6606 5 ปีที่แล้ว

    nice bro🙂

  • @jaishankar7994
    @jaishankar7994 5 ปีที่แล้ว +5

    Sir, can you give the working code for bfs and dfs

  • @Akash-il3il
    @Akash-il3il 5 ปีที่แล้ว +2

    Best explain sir,😇

  • @jaysahu357
    @jaysahu357 5 ปีที่แล้ว

    nice sir

  • @preetimishra4213
    @preetimishra4213 5 ปีที่แล้ว

    can you explain m-way search tree please?

  • @akshaymore1123
    @akshaymore1123 5 ปีที่แล้ว +1

    for DFS ,at 6 we found 4 and 8 as adjacent vertices ,as you said we can pick any of two if we pick 4 can this still can be a DFS

    • @sushma6314
      @sushma6314 5 ปีที่แล้ว

      Can somebody please clarify this

    • @suryasuresh5486
      @suryasuresh5486 5 ปีที่แล้ว

      Yeah . The answer would be 0 1 3 6 4 2 5 7 8 (There are other possibilities too)

    • @ahmedatef5654
      @ahmedatef5654 5 ปีที่แล้ว

      i think it will be ok it will be not ok if we added both it will be bfs

    • @revanth6476
      @revanth6476 3 ปีที่แล้ว

      @unique_gamer, you were unfortunate to get the prize.

  • @musicfan1695
    @musicfan1695 4 ปีที่แล้ว

    Sir, aap padhate bhadiya ho.

  • @rachanasheelam2402
    @rachanasheelam2402 3 ปีที่แล้ว

    👌👌👌👌👌👌👌

  • @devanshprakash8354
    @devanshprakash8354 3 ปีที่แล้ว +1

    Sir please make a code for bfs and dfs !!!

  • @mukeshsoni207
    @mukeshsoni207 4 ปีที่แล้ว

    When 3 is pushed into stack and P point to 3 now after pushing 6 why you don't check last condition that is there is no valid adjacent vertex of P so ideally 6 have to be pop but why you skip that condition ???

  • @jean-paulboga8189
    @jean-paulboga8189 3 ปีที่แล้ว

    good

  • @AB-sd9gx
    @AB-sd9gx 3 ปีที่แล้ว

    Very Nice Videos!!!
    Keep up the good work
    Jay Maharashtra bhava!!!

  • @shubhamgoswami3722
    @shubhamgoswami3722 4 ปีที่แล้ว

    Explain dijistras algo

  • @revanth6476
    @revanth6476 3 ปีที่แล้ว +1

    a simple code for dfs in cpp:
    void dfs(vector adj[] , int x){
    stack s; // stack initialization
    vector visited; // visited vector initilaization
    int le; // for printing the last top element in the stack
    for(int i=0; i

  • @shalinigupta6856
    @shalinigupta6856 5 ปีที่แล้ว

    We want video for prims algorithm in ds

  • @MP4975-v9r
    @MP4975-v9r 4 ปีที่แล้ว

    Kindly requesting u sir... We want code for these graphs sir...

  • @dharmaputra7394
    @dharmaputra7394 5 ปีที่แล้ว

    Request A* graph in c

  • @prateektripathi100
    @prateektripathi100 5 ปีที่แล้ว

    You are the best

  • @telugukirantelugukiran4205
    @telugukirantelugukiran4205 5 ปีที่แล้ว

    Nice bro

  • @mdsaif4696
    @mdsaif4696 5 ปีที่แล้ว

    Can you give me the working code please..

  • @genericwhitemale7028
    @genericwhitemale7028 5 ปีที่แล้ว

    BFG Algorithm

  • @prateektripathi100
    @prateektripathi100 5 ปีที่แล้ว

    Can you please post some videos on Heaps

  • @Tidda420
    @Tidda420 2 ปีที่แล้ว

    vhartex, vheriable, vhartices, recorading, vhan, vhisited

  • @sarvodaykumar2723
    @sarvodaykumar2723 4 ปีที่แล้ว

    Sir coding please

  • @somareshkarmker3672
    @somareshkarmker3672 4 ปีที่แล้ว

    paros nah english abr english koite ahos halar put

  • @amalmathew7011
    @amalmathew7011 3 ปีที่แล้ว

    Too. Much explaining is not good.