[6.2] Heaps Implementation in Python | Data Structures in Python

Поділитися
Вставка
  • Опубліковано 29 тра 2021
  • In this tutorial we will code heap data structure in Python.
    For full code go to our website given below.
    🔗Important Links:
    Data Structures in Python: www.thinkxacademy.com/Data%20...
    🌐Join our community:
    Android App(Notes+Videos): play.google.com/store/apps/de... Facebook: / thinkxacademy Twitter: / thinkxacademy Instagram: / thinkxacademy
    #heaps #python #datastructures

КОМЕНТАРІ • 11

  • @user-fq5eq7cd4p
    @user-fq5eq7cd4p 3 місяці тому

    what extension do you use to which prints the error like not defined etc?

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

    very well explained.... could you please share how to insert and pop as well

    • @ThinkXAcademy
      @ThinkXAcademy  Рік тому +1

      sure i will definitely make a video on this👍🏻

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

    code editor use use and extention?

  • @avinashpai9074
    @avinashpai9074 2 роки тому

    Loved all your videos. Easy to understand. thanks for your time sharing and making it easy. I have one question though. Is recursive call of the function required? I tried with removing it and worked fine for me. Would you please tell me the use of recursion here?

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому +1

      Thanks👍🏻Recursive call is important to perform heapify on all nodes. You may have got right result without using it but it won't work for every case.

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      Please share my videos to help this channel grow💯

  • @dylancampbell6433
    @dylancampbell6433 11 місяців тому

    If it is a max heap why is 10 further in the tree than 9?

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

    Order of output manually☹️-66,9,30,2,5,10 but there 5,2 how?