Eager Prim's Minimum Spanning Tree Algorithm | Source Code

Поділитися
Вставка
  • Опубліковано 13 чер 2019
  • An explanation of how to implement Prim's Minimum Spanning Tree algorithm in Java source code
    Algorithms repository:
    github.com/williamfiset/algor...
    Video slides:
    github.com/williamfiset/Algor...
    Indexed priority queue data structure: • Indexed Priority Queue...
    Lazy Prim's video: • Prim's Minimum Spannin...
    Eager Prim's video: • Eager Prim's Minimum S...
    Personal website:
    www.williamfiset.com
    ===================================
    Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: amzn.to/3cvMof5
    A lot of the content on this channel is inspired by the book `Competitive Programming` by Steven Halim which I frequently use as a resource and reference. Link on Amazon: amzn.to/3wC2nix

КОМЕНТАРІ • 14

  • @EshwarNorthEast
    @EshwarNorthEast 5 років тому +3

    Hey bro! Great work! But can we not use a TreeMap in java as an alternative of indexed priority queue?
    Ps : I am really grateful to your teaching.

    • @WilliamFiset-videos
      @WilliamFiset-videos  5 років тому +2

      Yes I believe you could 🙂 Most, but not all programming languages have a sorted map one could use as an alternate afaik

  • @nguyenthanhdat93
    @nguyenthanhdat93 5 років тому +1

    I am truly grateful to know your channel. You successfully break down difficult topics into consumable content. Keep posting more videos!! :D :D

  • @amanbhatia7442
    @amanbhatia7442 4 роки тому

    Hi William, your videos are very informational, and helpful. Hey are there any plans on covering Dynamic programming concepts?

  • @adist98
    @adist98 5 років тому

    Nothing but just awesome.

  • @ogemoji393
    @ogemoji393 5 років тому

    Epic!

  • @addisbyte2279
    @addisbyte2279 4 роки тому

    Wat a great lecture keep it up! Also I saw you are using sublime text but i cant find the theme package, I real like it can you help me out?? :)

  • @GabrielIchiro
    @GabrielIchiro 4 роки тому

    awesome!
    I'm really intersted in studying these algorithms , may I ask what did you study in college???

    • @WilliamFiset-videos
      @WilliamFiset-videos  4 роки тому +1

      Well you're in luck because I have a lot of content :)

    • @WilliamFiset-videos
      @WilliamFiset-videos  4 роки тому +1

      I studied mathematics and computer science.

    • @GabrielIchiro
      @GabrielIchiro 4 роки тому

      whas mathematics on the same computer science career? Im about to start college and in my country system engineering is kinda the only one that involves programming, and computing. I also like math but I'm not sure I'm at the enough evel of knowledge to start studying complex stuff like the one I see in your channel
      thanks for answering. I'll be cheking these videos really ofter :)

    • @WilliamFiset-videos
      @WilliamFiset-videos  4 роки тому +1

      ​@@GabrielIchiro Mathematics helped me appreciate and grasp a deeper understanding of computer science; In fact, my journey into computer science started in mathematics by solving problems on projecteuler.net. Most of the concepts I explain on this channel do not require an advanced understanding of mathematics -- most concepts fall into the discrete/combinatorics section of mathematics which is fairly intuitive.

    • @navjotsingh2251
      @navjotsingh2251 4 роки тому +1

      WilliamFiset yes I agree. Most mathematics on my degree was finite/numerical anyway. My lecturer taught us well, and understood we weren’t mathematicians but we were computer scientists so taught us in a unique way. I’m grateful to how great he was.

  • @userpmzjah82
    @userpmzjah82 Рік тому

    Hi i really enjjoy your simple explanations and graphics, However It's hard for me to understand the code sometimes because your variable and function names are too wordy and complicated. I think it would be even better if u used simpler variable and function, class names. THank you