Euler Graph | Euler Circuit | Euler Path | Eulerian Graph | Semi Eulerian Graph | Algorithm | CODE

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • In this video, I have explained everything you need to know about euler graph, euler path and euler circuit.I have first explained all the concepts like Walk, Trail, Euler Circuit, Euler Path, Eulerian Graph, Semi Eulerian graph and a non Eulerian graph.I have explained the conditions for a graph to be of a certain type using intuition and simple examples.After the concepts, I have shown the algorithm for detecting the type of eulerian graph.The algorithm is just a simple 2 step process where the first step is about multi-component case.All the edges must be present in a single component.The second step counts the number of nodes with odd degree.If count of odd degree nodes are even then graph is eulerian because euler circuit will be present in graph.If count of odd degree nodes is 2 then it will be a semi eulerian graph because we will have a euler path but not euler circuit.Rest all count cases will fall in a non euler graph.At the end of the video, I have also explained the CODE. CODE LINK is present below as usual. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
    ========================================================================
    Join this channel to get access to perks:
    / @techdose4u
    INSTAGRAM : / surya.pratap.k
    SUPPORT OUR WORK: / techdose
    LinkedIn: / surya-pratap-kahar-47b...
    WEBSITE: techdose.co.in/
    TELEGRAM Channel LINK: t.me/codewithT...
    TELEGRAM Group LINK: t.me/joinchat/...
    =======================================================================
    CODE LINK: gist.github.co...
    USEFUL LINKS:-
    PROOF: math.stackexch...
    Kosaraju Algorithm: • Kosaraju Algorithm | S...

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

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

    Great Work! Got placed in 10+lpa company, your channel is one of the reasons behind it. Thank You!!

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

      Wowww... Great ❤️ congratulations 🎉 I would like to know more. Please ping me on LinkedIn :)

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

      Great man , best of luck for your future

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

      Which company brother?

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

      @@willturner3440 amzn

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

      @@chakradharkandula6670 but i think it's starting package is 30 lpa

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

    Each and Every video itself justifies that the channel is highly underrated. Great and clear Explanation.

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

    The channel content is the best out there .

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

    Best channel for DSA ❤️

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

    That's great, could not have been better

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

    This was extremely helpful, thank you!

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

    bhai tumne bahut sahi videos banaya hai

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

    God level explanation. If possible please make a video on Flows.......can't find any good video on this topic with C++ code

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

      I will cover ford-fulkerson maximal flow algo in the next week. Remind me on next weekend.

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

    Amazing explanation

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

    Very nice lectures

  • @mordernmonk194
    @mordernmonk194 16 วันที่ผ่านมา

    great explaination ❤

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

      thanks

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

    Thanks a lot sir, you explained it quite intuitive

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

    clear and detail explanation. huge appreciation

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

    Excellent Explanation

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

    Bro, you deserve a million subscribers but most of the people are interested in *Gyan* instead of useful knowledge.
    If you could explain how to find the eulerian circuit it would be great.

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

      I think it's already uploaded in later video of graph playlist.

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

      ​@@techdose4u I couldn't find it in the graph playlist. can you please give me the link?

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

      Right, Love babbar doesn't deserve 500k + subs

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

    great explanation sir,
    simple code gfg Euler Circuit Path
    int isEularCircuit(int V, vectoradj[]){
    vectordegree(V,0);
    int odd=0;
    int even=0;
    for(int i=0;i

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

      it doest not check whether the graph is connected or not so incomplete code

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

    nice explanation,
    thank you sir... :)

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

    Hats off man ❤️

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

    Great work dude.

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

    great explanation!

  • @NoFormalities-y1k
    @NoFormalities-y1k 10 หลายเดือนก่อน

    graph will be eular graph(or will have eular circuit) ,if and only if degrees of all vertices are even.
    graph will contain eular path if and only if it contains exactly 2 odd vertices.

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

    Sir please if possible make videos on network flow in graph also😅. Your videos are amazing and your explanation too.

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

      I think you are talking about maximal flow right? I will make it next week probably.

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

    super 👌

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

    In the find_Euler function ,before calling isconnected we can check if the number of odd degree vertex are greater than 2 ,and return false from there itself. Am I correct Surya?

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

    Hi, Can you post a separate video on hamilton-cycle as well,Thanks.

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

    Sir it would be helpful if you can provide links to related problems on the topic in the description :)

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

      Okay. I will try to do it from next time.

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

      @@techdose4u atleast expalin one medium question on this topic and suggest 2-3 problems for practice it would be great,....❤️❤️ explanation is superb 🙏🙏

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

    Sir in blooms graph all the vertex is of degree 4 and it's connected graph....but it's not eulerian how? Plz can u explain.....

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

    A Semi-Eulerian graph can't exist if your odd number of edges == 1. So it's incorrect to assume if odd-egdes != 0, and odd-edges !> 2, and odd-edges != 2, that a Semi-Eulerian graph exists as you're not checking if odd-edges == 1. Correct?

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

    A path is one in which no edges and vertices are repeated, but in euler path vertices are repeated, then which one is true, which one isn't?

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

    if odd==1, then it shouldnt be a Eulerian Graph or Semi Eulerian Graph, but according to the conditions (odd>2) and (odd==0)?2:1, it will be Semi Eulerian. Am i pointing this out right?

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

      odd ==1 is not possible in undirected graph

  • @AbhishekSingh-jp1hv
    @AbhishekSingh-jp1hv 3 ปีที่แล้ว

    If there is directed graph than there would be different approach? BTW great explanation 👌

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

    Seven bridges of konigsberg is a eulerian or semi eulerian??

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

    What if there is exactly 1 odd degree vertex and others are of even degree? In that case, will it also be semi-eulerian graph?

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

      1 odd degree != Semi-Eulerian Graph. He has a 🐞 in his code.

    • @anas_edits
      @anas_edits 19 วันที่ผ่านมา

      @@tobiahrex not possible to have 1 odd degree 19:14

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

    if a vertex has 2 edges pointing into it, instead of one coming in and other going out, will this algorithm still work?

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

    Just came here to like

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

      😀 Watch it too 😉

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

    Do you think it's a good idea to have a path set to store the path and return it...
    Referring to question
    7 bridges of Koningsberg

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

    The 3rd example at 4:00 is a euler graph although not a euler circuit but it still is a valid euler path.
    Check again!

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

      Euler graph is a graph having an Euler circuit. He said this at starting.

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

      graph having euler path is not euler graph . to be an euler graph there must be euler circuit

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

    Can u please provide solution and explanation for the below :
    Write a program to find Largest 4 digits Prime Number whose Sum of Digits is also Prime.
    1.Prime Number is any number that is divisible only by 1 and itself. Examples are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31,........
    2.Sum of Digits means sum of all the digits in that number. Example is number is 1234 then the sum of digits is 1+2+3+4=10

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

    sorry to nitpick but it's pronounced as Oy-ler, not EU-ler

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

      I guess I mentioned that in the video about how it is pronounced and how I prefer.

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

      @@techdose4u ​ ooh, either i missed or you're refering to some other video.

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

    its not YOOLER, its OILER

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

      I prefer to call it Euler. Not Oiler.

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

      @@techdose4u something is known as positive criticism. I hope you get me. Please do not take me otherwise.
      Video was amazing.

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

      Yep :) No issue. I think I said in the video as well that I say yooler 😅

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

    hey Euler is pronounced as Oil-er, not U-ler.

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

      Thanks. But I like to say U-ler 😅

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

    code is wrong

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

    I just have a small note here, his name is not pronounced "You-ler", he is swiss mathematician Leonhard Euler (/ˈɔɪlər/ OY-lər).
    Other than this, its an other great video of you:D

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

    Excellent explanation

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

      Glad it was helpful!