Topological Sorting with examples | Topological Sorting using DFS | Imp For Placements & Comp. Exams

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • 👉Subscribe to our new channel: / @varunainashots
    ►Design and Analysis of algorithms (DAA) (Complete Playlist):
    • Design and Analysis of...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ► Operating System :
    • Operating System (Comp...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing (Compl...
    ►Software Engineering:
    • Software Engineering
    ►Data Structure:
    • Data Structure
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on TH-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmash...
    ► Follow us on Threads: www.threads.ne...
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com

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

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

    very easy and basic clearance,, good

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

    Thank you Sir for such Amazing Explanation
    Helped me last minute before my exam 👍👍👍

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

    Celebrated my New Year while watching this Masterpiece❤‍🔥

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

    Your videos are incredible! They greatly improve my understanding of concepts. Thank you so much for creating all of this fantastic content!! I have one request: I am an IB student who has taken computer science at the higher level. It would be fantastic if you could create videos related to the IB curriculum. IB COMP.SCI has almost no resources. And if you decide to create videos for them, they will benefit the entire student body... I hope this message reaches you and that you take action. Thxs.

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

    Thank for such interactive explanation sir !

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

    Thank youh so muchh sir !
    you have a great study technique .

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

    Easy to understand video. Thanks for the efforts.

  • @FreshTutorial
    @FreshTutorial ปีที่แล้ว +174

    Legend are coming on the of day of exam 🥳😂😂😂

    • @sahilshaikh1912
      @sahilshaikh1912 7 หลายเดือนก่อน +5

      bara hoja bhai

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

      😂😂😂😂😂😂😂😂😮😮😮😮😢😢😢

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

      30 minutes before exam

    • @onlyforindia...4157
      @onlyforindia...4157 2 หลายเดือนก่อน +1

      5 hours before exam 😊

    • @DeviL-tv2pn
      @DeviL-tv2pn 28 วันที่ผ่านมา +1

      Geeks

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

    Nice

  • @tfaclasses2.047
    @tfaclasses2.047 2 ปีที่แล้ว +2

    Great insight!!

  • @jogdandmayuri
    @jogdandmayuri 2 หลายเดือนก่อน +1

    Thank you sir 🎉

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

    Mast hai ji

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

    You did great sir 🐱

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

    Amazing

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

    Are wow just two weeks ago 👍👍👍👍

  • @mahima9916
    @mahima9916 ปีที่แล้ว +14

    Hello sirr, if we check HG, FB, EC then how these vertexs are following (U->V) case, Please clarify. I dont see any edge in these cases and the as per the rules of topological sorting, they should be travesing from H->G, F->B, E->C

    • @pahulpreet-singh
      @pahulpreet-singh ปีที่แล้ว +15

      all the conditions should be satisfied in the sorted sequence, but if there is no constraint then any order can be used
      (e.g. in this case, H and G have no edge so HG or GH anything is fine, similar for F and B, but if there is edge then it must follow in the order)
      This is exactly why the ordering is non-unique.

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

    Thanks sir

  • @AadeshingaleOfficial-zl5fd
    @AadeshingaleOfficial-zl5fd 9 หลายเดือนก่อน

    Nice Sir 😊

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

    Thank you sir you are the best

  • @innocentboys9959
    @innocentboys9959 7 หลายเดือนก่อน +1

    You can also use indegree of the vertices,whichever vertex has 0 indegree then put that in the ordering and so on

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

      That's bfs or kahn algorithm

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

      @@Anonymous____________A721 nope that is topological sorting, u can refer the textbook Design and Analysis of algorithms By Anny leviten

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

    Thanks a lot brother!

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

    Thank you ❤sir

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

    thank you Sirrrrrrrrw

  • @QueenOfHearts-og3mb
    @QueenOfHearts-og3mb 9 หลายเดือนก่อน

    Thank you Thank you soo much sir❤❤

  • @kitelover-ob7fr
    @kitelover-ob7fr หลายเดือนก่อน +2

    27 minutes before exams 🎉😂😂

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

    Timing mst hai, tomorrow I have exams video he nhi mil rha tha ✌️

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

    Theory of computation pr ek acchi playlist bana Dona

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

    Thank you so much😊

  • @angadsinghmarwaha6303
    @angadsinghmarwaha6303 8 หลายเดือนก่อน +1

    shouldnt B come before F as the indegree of F is 1 whereas indegree of B is 0?

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

    Great as always 😎👍

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

    Thnku so much 🤎

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

    11:11 🤣🤣

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

    start from 3:32

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

    Sir pls vo hemeltenion cycle, coloring of graph, transitive closure, network flow algorithm, tractable and intractable problem aur advance topic pe bhi video bando jaldi jaldi pls sir 🙏

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

      bhai ek saal hogaya 😢

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

    First time seeing you in specs 🤭

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

    Sir IA ke liye course launch kroge kya sir.
    Hmm Rajasthan vale wait kr rhe hai

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

    Thank U Sir🙏🙏🙏🙏🙏

  • @Amangupta-zk6jy
    @Amangupta-zk6jy 9 หลายเดือนก่อน

    sir H does not go to G right ? isnt it wrong i am confused

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

    But sir our lecturer said that we need to always must start with that vertex whose indegree is 0 Is it not right plz say

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

      Yes 🙂! That's source removal algo for topological sorting. And the vdo is on DFS algo for topological sorting.

  • @kidszone-t4i
    @kidszone-t4i 7 หลายเดือนก่อน

    Watching before 15 minutes

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

    Tq u sir...ek request h..ap concepts ko pseudo code ke sath explanation Diya kro... It will get more idea about coding also...n how it works in computer...

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

    H-G to koi path hi nhi hai fir h first position pe kaise aagya. Plz anyone give me answer my questiin

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

    Sir Pls share some basic on understanding AI.

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

    Dhanyawad sirji

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

    Sir lekin isme ek doubt aa raha hai DGEF mein to cycle aa gi

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

    Watching 1 hour before exam

  • @Freakin-xp5jh
    @Freakin-xp5jh หลายเดือนก่อน

    Watching 1 hour before exam😂

  • @animegirl9211
    @animegirl9211 11 หลายเดือนก่อน +3

    Aaj 10 baje mera exam he 😅

  • @JaskaranSandhu-p3d
    @JaskaranSandhu-p3d 8 หลายเดือนก่อน

    👍

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

    In this example how H comes before G

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

    Sir... Please give last minute notes for closed under inverse and homomarphism in TOC

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

    here!

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

    Sir lekin hor g to nahi h valid

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

    Amazing teacher🤌

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

    Exams after 2 hours

  • @barshachowdhury1231
    @barshachowdhury1231 3 หลายเดือนก่อน +2

    Exam after 1 Hours🙂💔

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

    Integral University

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

    Kuch bhi kahoo but sir ko itna pataa h kon kitna paani h 😂 line padh kar bata dete h ki hmee samj nhi aayi h 🤣🤣

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

    ek line ka answer likhenge tho marks nhi denge hamare college mai :_(

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

    Source Removal algo

  • @Neymarjr-cr1ri
    @Neymarjr-cr1ri 5 หลายเดือนก่อน

    Hlo

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

    time wasted

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

      Why?

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

      @@pokemonmastergaming2782wrong bataya hai

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

      Your brain need to update

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

      ya sa bhi ne samajh Paya Na to kahin se bhi samajh Nahin Sakta bro

    • @rishimishra4963
      @rishimishra4963 11 หลายเดือนก่อน +1

      ​@@mani_fitness03actually the method is wrong

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

    Amazing