6.3 Types of Edges in DFS | Edge Classification | Data Structures and Algorithms

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

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

  • @NikitaNair
    @NikitaNair 2 หลายเดือนก่อน +17

    Nobody in the whole internet has explained this concept like you did :) Huge respect for you ma'am !!!!!!!

  • @VikashChauhan-zl8xr
    @VikashChauhan-zl8xr 5 ปีที่แล้ว +91

    Finally a lecture that explains the algo and not just the explaination . Very Nicely explained.

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

    Nice explanation. Thank you ! Greetings from Greece !!

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

      Greetings from India

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

      @@JennyslecturesCSIT greeting from Uttar Pradesh 🙏

    • @AyushKumar_-jd1kd
      @AyushKumar_-jd1kd 3 ปีที่แล้ว +1

      @@JennyslecturesCSIT Greetings from Mirzapur.💝

    • @sumeetkumar6900
      @sumeetkumar6900 6 หลายเดือนก่อน +1

      @@shankeychauhan9523 bhai yeh India mei hi hai

    • @pratiktiwariramji
      @pratiktiwariramji หลายเดือนก่อน

      Namaste 🇮🇳

  • @debarghyabandyopadhyay131
    @debarghyabandyopadhyay131 5 วันที่ผ่านมา +4

    Tree Edge - Member of DFS traversal.
    Forward Edge - Any edge ( x , y ) where y appears after x and there is a path from x to y.
    Back Edge - Any edge ( x , y ) where y appears before x and there is a path from y to x.
    Cross Edge - Any edge ( x , y ) would be a cross edge where there is no path from y to x.
    Carry on guys ❤

    • @priyanshiverma5943
      @priyanshiverma5943 วันที่ผ่านมา

      @@debarghyabandyopadhyay131 thanks☺️

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

    after watching so many videos. finally i landed here... awesome teaching. now i got this concept very clearly. thanks. 😀

  • @samiulislamdurjoy
    @samiulislamdurjoy 4 ปีที่แล้ว +69

    G 243
    4 types of edges
    1. tree edge: All traversed edge
    2. forward edge: X appears before Y, direct path from x-y .(not belongs to tree edge)
    3. back edge: Y appears before X, direct path from y-x .(not belongs to tree edge)
    4. cross edge: X/Y appears before Y/X, direct path from y-x/x-y. (not belongs to tree edge)
    All the above edges added up to full graph

    • @manavnagrani8338
      @manavnagrani8338 ปีที่แล้ว +7

      Not necessarily direct path...can be indirect path also... Only path should be there thats it

    • @KK-hd4wy
      @KK-hd4wy ปีที่แล้ว +1

      @@manavnagrani8338 but in this vdo Maam told direct path

    • @He-Man-qk6sf
      @He-Man-qk6sf 8 หลายเดือนก่อน

      Thanks a lot ♂️

  • @user-nn8tl6mg8p
    @user-nn8tl6mg8p 5 ปีที่แล้ว +5

    Really this video will clear all the concept and doubts.
    The content of this video is not available everywhere even in books.
    This type of explanation is done by some geneous and talented.
    Thank you so much from the bottom of my heart..

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

    ho nice lecture..meahwhile i cracked jrf without preparation..and i wish u all the best for ur lecture series

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

    The ending part, "I'll see you in the next video. Till then bubbye, take care" of your videos is like the chocolatey tip of an ice cream cone.... Sweet!

  • @anuragrohangolu
    @anuragrohangolu 4 ปีที่แล้ว +2

    I saw this video , felt it was too lengthy . Went to other websites for the concept . Then came back to this one and am thankful that I made the right choice.

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

    Thank You! Very well explained! Love from Michigan!

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

    This girl is explaning this way better than this MIT Prof. ! cheers

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

    Awesome explanation. 👍👍
    This explanation is better than my college's professors.
    Thnx mam you are doing so good .
    Keep it up👍👍🙏

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

    If I could, I would have Given 1 million likes on this video. Keep up :)

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

    You tought better that our professor... Thanks

  • @ammadunaani
    @ammadunaani 4 ปีที่แล้ว +6

    Good and clear explanation. Thank you!!!. I got to know about traversals easily. One recommendation is that if you can publish the code using any language for theory it would be more good. I am happy with video contents. Thank you once again :)

  • @itsraihanclub634
    @itsraihanclub634 7 หลายเดือนก่อน

    apu this video is the best on online about edge,,,,,,,now i think,if u dont stay!! love from bangladesh

  • @der4n
    @der4n 15 วันที่ผ่านมา

    best explanation ever, i aspire to become a professor like you

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

    Your explanation will be understood by kindergartner child also . Thanks for such simple explanation.

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

    aap bhut acha padhati ho ❤️u r so sweet 💝Mann krta hai ...din bhar data structures padhta rahuuu...24×7 ...aapki aawaj bhut pyari hai ...aur apka face to mashaallah ....aur apke hair style...aur aapp jb idhar dekhti ho ...to haaaye apki aakhe 😍😍😍❤️ 😘😘😘

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

    Improve the video quality, i cannot see the text you write on board

    • @GurpreetSingh-wn7dg
      @GurpreetSingh-wn7dg 4 ปีที่แล้ว +31

      Yeah I agree, but I am sure she is doing the best she can.

    • @AvishekPaulOnline
      @AvishekPaulOnline 4 ปีที่แล้ว +24

      Come on, it's not even that difficult to figure out what's written if you're listening carefully.

    • @continnum_radhe-radhe
      @continnum_radhe-radhe ปีที่แล้ว +8

      Focus. Dude focus 😂

    • @yosiflearning
      @yosiflearning 8 หลายเดือนก่อน +5

      Is it a radio ? Or a youtube video ?​@@AvishekPaulOnline

    • @lamyanbaloitongbam1210
      @lamyanbaloitongbam1210 27 วันที่ผ่านมา

      @@yosiflearning MP4. I think you have heard about it.

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

    Thank you very much for such a wonderful lecture!

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

    Next month my DS exam.
    Greetings from China ♥

  • @manthanshettigar8970
    @manthanshettigar8970 4 ปีที่แล้ว +7

    My friend harsh kothari suggested me your channel ♥️ I found it too amazing in Lovex100 with your work & also you ♥️ Thank you mam..Keep the motivation on. 💪

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

    Maa'm you are a God of Datastucture 🙏

  • @amitsharma-lt6lp
    @amitsharma-lt6lp 3 ปีที่แล้ว +3

    one question >>will the number of tree edge , forward edge , back edge , cross edge remain same if we would have chosen different paths for the same graph?

  • @sardarsingh982
    @sardarsingh982 ปีที่แล้ว +8

    Hloo mam...i am a student of iiit....ur lectures are awesome...even our professor learn from ur videos, and teach them😅😂. Great work🙏

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

    Really mam u gave the best explanation. Best way of teaching

  • @DarkDevil-du4jt
    @DarkDevil-du4jt ปีที่แล้ว +1

    Mam jo aapne 24 steps describe kiye algo ke wo saare hame likhne honge including backtracking ???

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

    You are doing good.your lectures are good to clear fundamentals.Thanks.

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

    its not just good but exillent explanation

  • @nikhilnikhil3462
    @nikhilnikhil3462 2 ปีที่แล้ว +1

    mam your teaching is super ,thank you

  • @manavmangrulkar2519
    @manavmangrulkar2519 ปีที่แล้ว +7

    wish you were in our college i would have paid full fees with no regrets ....haha jokes apart your teaching skills are really good ....thank you ma'am

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

    You explained this very smoothely maa'm.This was my very first seen video of your's channel...and it was osm:)

  • @kainatijaz4396
    @kainatijaz4396 10 หลายเดือนก่อน

    Outstanding explanation ❤

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

    Such a great explanation !!
    Thank u very much mam.

  • @SOWHARDOBINATIK
    @SOWHARDOBINATIK ปีที่แล้ว

    Thanks a lot Ma'am. It was really helpful. I was looking for a lecture like this to get a good grip on the concept of edge classification.

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

    very very helpful & comprehensible illustration ma'm..thanks a lot
    i had some meticulous dubiety upon this topic..your tutorial just gave me a clearance of my good concept now..

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

    Very well explained ..

  • @PreetiSingh-p6n
    @PreetiSingh-p6n 7 หลายเดือนก่อน

    Wonderful explanation 😊😊😊

  • @continnum_radhe-radhe
    @continnum_radhe-radhe ปีที่แล้ว +1

    Everything is amazing...

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

    Nice explanations mam. Aapsay achaw koi bhi nahi pada sakta thank you mam
    Good bless you 😍😍🤗🤗

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

    Read this concept from coreman earlier was not able to get it , your lectures made it simple thanks alot mam :) .

  • @PrinceKumar-IIIT-B
    @PrinceKumar-IIIT-B 7 หลายเดือนก่อน

    today my end sem exam , now i am this topic . great explaination mam 💌💌💌

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

    Masterpiece teaching!

  • @anisharani6647
    @anisharani6647 4 ปีที่แล้ว +2

    Nicely explained well satisfaction

  • @payalsagar1808
    @payalsagar1808 4 ปีที่แล้ว +2

    Amazing mam!💃💃💃💃💃💃💃💃💃💃💃💃💃💃💃u r so awesome mam how well u taught😘😘thankyou mam!

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

    Thank you Ma'm for this one!

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

    Thanks a lot!!! Very helpful

  • @aparnakanchi
    @aparnakanchi ปีที่แล้ว

    Very clear explanation

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

    if way of traversing differs, the edges and time stamp also will differ. right?

  • @МейіржанЕржанов-ю3к
    @МейіржанЕржанов-ю3к 5 ปีที่แล้ว +5

    Thanks a lot for cool lecture)

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

    thank you so much madam. your luck like sharuk khan's sister..

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

    great explaination ! keep up the fantastic work

  • @bugs.bunnyx
    @bugs.bunnyx 4 ปีที่แล้ว

    Baba g tusi great ho 😍

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

    It's very helpful, thank you soo much mam.

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

    u are the best !!!!

  • @ramshatarannum2153
    @ramshatarannum2153 4 ปีที่แล้ว +2

    Very nice vedios but sometimes board is not visible may be due to reflection
    It's sometimes hard to note important points form board
    Otherwise everything is nice the way of your explanation is so understanding.

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

    This video is not visible clearly mam🙄🙄...but ur way of explaining the subject was awesome 🤩🤩🤗🤗🤗

  • @aijazkittur9691
    @aijazkittur9691 ปีที่แล้ว

    Very nice explanation madam.

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

    Excellent explanation.

  • @user-nn8tl6mg8p
    @user-nn8tl6mg8p 5 ปีที่แล้ว +2

    Ma'am
    Is these (forword cross back) edges possible for directed graph or only for undirected graph???
    Please resolve my doubt as soon as possible🙏🙏🙏

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

      A depth first search on a directed graph can yield 4 types of edges; tree, forward, back and cross edges. No forward edges in undirected graph

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

      @@ayushkumarverma6895 EK sir ne bataya hai ki BFS spanning tree me cross edges aur DFS spanning tree me back edges hote hai.. Unhone undirected graphs par traversals kare hai. Please help !

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

    Thank u for your explanation. Amazing concept

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

    You explained it really well. But, you should also explain the code for DFS and BFS, shouldn't you ?

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

    Excellent teachings

  • @BharadwajMarri
    @BharadwajMarri 2 ปีที่แล้ว +1

    URGENT DOUBT!!: Ma'am, while checking if there is a path or not to determine if it is a forward edge or back edge, is it compulsory that the path should contain only tree edges or is it fine if any edge in the path is not a tree edge?

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

      In the video she also used the tree edge to determine the path from x to y or y to x she only named the edge that are not tree edge forward, back and cross edges.

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

      same doubt

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

      @@somebodyoulove didn't understood what you are saying....can you plz tell shall we consider
      A)only tree edges for finding path or
      B)we can use other edges than tree edges also

  • @pushkarajpawar4494
    @pushkarajpawar4494 2 ปีที่แล้ว +2

    Is the concept of types of edges applicable to undirected graph also ?? Please answer

    • @sumitmahto7542
      @sumitmahto7542 2 ปีที่แล้ว +2

      never,
      without direction how could u say anything

    • @arpitbisen2620
      @arpitbisen2620 ปีที่แล้ว

      @@sumitmahto7542 don't misguide anyone..it is possible in undirected graph also..tree edge and back edge is possible only cross and forward edge not possible

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

    Is it compulsory to finish all edges of in the dfs traversal?if yes,then since multiple paths are present wont the total time vary for different selection of unvisited adjacent vertices?

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

    Jenny Ma'am Thankyou so much.... You are awesome

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

    what is the use of learning the types of edges

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

    perfection👌

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

    Why not we can backtrack on f at 13:51

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

    Amazing, thank you!

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

    Maam keep rocking

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

    ma`am how you're considering any element x and other element y....is there any process?

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

      e:(x,y) means there is a directed edge connecting and pointing x to y, i.e., x -----> y :)

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

    that was a good lecture !

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

    Helpful one.

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

    Why you didnt back track the node from h to f.Why f don't have final time??

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

      according to timre we have to goto L but L and all others is already finished thats why g

  • @diyashezadi21
    @diyashezadi21 10 หลายเดือนก่อน

    Thank you sooooooooooooooo much🎉

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

    Very good explanation 😊

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

    Thank you nice video👍👍👍

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

    Dhanyawad

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

    Important point is "There is no CROSS EDGE" in an undirected graph!!

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

      YEP!!rest all the other three edges are present in an undirected graph na ?

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

      @@priyamraj122 tree edge is there, but forward and backward edges are same

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

      @@jithinmv6516 ohkk bhai

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

      In an undirected DFS tree, Tree edges and Back edges are present and in a directed DFS tree Tree edges, Back edges, Cross edges and Forward edges are present.

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

      the lecture is about directed graph...

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

    thank you so much mam. wonderful lecture

  • @creative_creation.0788
    @creative_creation.0788 10 หลายเดือนก่อน

    In case of undirected graph ?

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

    itna hi bolunga....bhut hard bhut hard

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

    outstanding !! Thanks

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

    Great lecture. Graph thoda bada hai for my adhd :)

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

    Thank you Madam 🙏

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

    How will we find the edges in series of a particular graph?help me!!

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

    The types of edges are only defined for dfs ? Not for bfs?? I mean is there any types of edges for bfs?

  • @jaiswalshruti
    @jaiswalshruti ปีที่แล้ว

    9:03 that f will be 11 (time)...if not why??

  • @tamadaanilkumar4738
    @tamadaanilkumar4738 ปีที่แล้ว

    Been helpful

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

    THANK U MAM,I WAS WATCHING U MORE THAN THE BOARD BTW..

  • @akashsuna5160
    @akashsuna5160 ปีที่แล้ว

    Thank you so much Mam

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

    Thanks ma'am 🥰

  • @justhuman3886
    @justhuman3886 2 ปีที่แล้ว +1

    Thank you mam

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

    Mam why you are didn't go for Bfs and DFS coding in c, I am searching for that in your lectures but I didn't find 😟☹️

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

    Thank you!!!

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

    Thanks Mam :)