Min Cost to Connect All Points (Prim's Algorithm to Create MST) - Leetcode 1584 - Graphs (Python)

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • Master Data Structures & Algorithms for FREE at AlgoMap.io/
    Code solutions in Python, Java, C++ and JS for this can be found at my GitHub repo here: github.com/gah...
    Complete DSA Pathway Zero to Hero: • Data Structures & Algo...
    Please check my playlists for free DSA problem solutions:
    • Fundamental DSA Theory
    • Array & String Questions
    • 2 Pointers Questions
    • Sliding Window Questions
    • Binary Search Questions
    • Stack Questions
    • Linked List Questions
    • Tree Questions
    • Heap Questions
    • Recursive Backtracking...
    • Graph Questions
    • Dynamic Programming (D...
    My Data Science & ML UA-cam Playlist: • Greg's Path to Become ...
    Learn Python and Data Science FASTER at mlnow.ai :)
    Support the content: / @greghogg
    Follow me on Instagram: / greghogg5
    Connect with me on LinkedIn: / greghogg
    Follow me on TikTok: / greghogg5
    Coursera Plus: imp.i384100.ne...
    My Favorite Courses:
    Data Structures & Algorithms:
    - UCalifornia San Diego DSA: imp.i384100.ne...
    - Stanford Algorithms: imp.i384100.ne...
    - Python Data Structures: imp.i384100.ne...
    - Meta Coding Interview Prep: imp.i384100.ne...
    Python:
    - UMichigan Python for Everybody: imp.i384100.ne...
    - Python Mastery from MLNOW.ai: mlnow.ai/cours...
    - Google IT Automation w/ Python: imp.i384100.ne...
    Web Dev / Full Stack:
    - Meta Front-End Developer: imp.i384100.ne...
    - IBM Full Stack Developer: imp.i384100.ne...
    - Meta Back-End Developer: imp.i384100.ne...
    - John Hopkins HTML, CSS & JS: imp.i384100.ne...
    - IBM DevOps: imp.i384100.ne...
    Cloud Development:
    - AWS Fundamentals: imp.i384100.ne...
    - GCP Cloud Engineer: imp.i384100.ne...
    - Microsoft Azure Fundamentals: imp.i384100.ne...
    Game Development:
    - Michigan State Unity Development: imp.i384100.ne...
    - UColorado C++ for Unreal Engine: www.coursera.o...
    SQL & Data Science:
    - SQL by MLNOW.ai: mlnow.ai/cours...
    - Python for Data Science by MLNOW.ai: mlnow.ai/cours...
    - Google Data Analytics: imp.i384100.ne...
    - IBM Data Science: imp.i384100.ne...
    - IBM Data Engineer: imp.i384100.ne...
    Machine Learning & AI:
    - ML Mastery at MLNOW.ai: mlnow.ai/cours...
    - ML w/ Andrew Ng: www.coursera.o...
    - Deep Learning w/ Andrew Ng: imp.i384100.ne...

КОМЕНТАРІ • 8

  • @GregHogg
    @GregHogg  2 місяці тому

    Master Data Structures & Algorithms For FREE at AlgoMap.io!

  • @chisomedoka5651
    @chisomedoka5651 Місяць тому

    I certainly know I'm going to come back 3-5 times before this sticks, great video once again

  • @GarouNguyen
    @GarouNguyen 2 місяці тому

    Bro some those video you explain I don't unserstand but you are the best of the bests

  • @GarouNguyen
    @GarouNguyen 2 місяці тому

    Bro why it work, I write it bht you have to hepify it so you can pop out smallest, if you not hepify a object variable into heap, it doesn't work

  • @kedarkulkarni9464
    @kedarkulkarni9464 2 місяці тому

    Please don't stop making videos EVER! Even if you get less views or likes :(
    We don't want to lose a good teacher to the UA-cam Algorithm
    Also, isn't the log n in the time complexity coming from sorting/heapifying within the heap?

    • @GregHogg
      @GregHogg  2 місяці тому

      Haha thank you! And yes it is :)

  • @GarouNguyen
    @GarouNguyen 2 місяці тому

    Bro I don't understand anything huhu 😭

    • @GregHogg
      @GregHogg  2 місяці тому

      This one is a little tricky