Heap Data Structure - TypeScript

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • The heap is a special type of Binary Tree which also adheres to the min or max heap property. Learn all about the heap data structure in TypeScript.
    --------------------------------------------------
    Recommended Udemy courses
    --------------------------------------------------
    Understanding TypeScript: tinyurl.com/9wz6fp7k
    NodeJS - The Complete Guide: tinyurl.com/3z4ehtpm
    React - The Complete Guide: tinyurl.com/2t6v5yeu
    Angular - The Complete Guide: tinyurl.com/4h5rmpsj
    DSA TS Playlist: • Data Structures and Al...
    00:00-00:025 - Introduction
    00:26-13:36 - What is a Heap?
    13:37-19:35 - Helper functions
    19:36-28:53 - Min and Max Heap Property
    28:54-36:57 - Insert
    36:58-40:32 - Remove
    40:33-48:02 - Heapify
    48:03 - Testing

Komentáře • 2

  • @senseiAree
    @senseiAree Před 11 měsíci +2

    I don't know how to thank you for this. This content is like a dream for me.. you know why... Because you chose to do it in Typescript.. I chose my programming language as Typescript for DSA preparation... But I can't find it anywhere available on the exam platforms... We need to make people aware of Typescript as a programming language too...

    • @JonPeppinck
      @JonPeppinck  Před 11 měsíci

      Thanks so much! I also thought it was strange to see little resources on DSA with TypeScript. In most cases, you are allowed to choose the language you want for your interview. For me personally, I've used TS for 5+ years, and know the main syntax and methods. I see a lot of resources in python, and other languages. The justification is it is 'easier' to use, but that is only true if you are comfortable with it. There is no need to learn a new language or study a language to the same depth as your primary language, unless you want to!