Python Heapq

Share
Embed
  • Loading...
  • Published on:  Wednesday, January 27, 2021
  • Python Heapq (Priority Queue - Min Heap)

    πŸ“™ Table of Contents πŸ“™
    =======================
    00:00 - Push & Pop
    02:28 - Heapify
    03:51 - Time Complexity
    05:01 - Max Heap
    06:00 - Heapq for Objects
    🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁

    Question:
    https://leetcode.com/problems/last-stone-weight/

    Creator: Arash Rowshan

    πŸ“±Twitter: https://twitter.com/OSO_Arash
    πŸ“·Instagram: https://www.instagram.com/arash_rowshan/

    #Python #DataStructures
  • Source: https://youtu.be/EcTWha6JHvE
Loading...

Comment