Stack Implementation - Linked List

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 25

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

    Hey Everyone! Thanks for checking out my video! Don't forget to Like, Subscribe, and MOST IMPORTANTLY click that Notification Bell for updates! :)

  • @AydinGokce9000
    @AydinGokce9000 4 роки тому +11

    This channel is ridiculously underrated. Clear explanations, perfect pace, coherent structure, ideal visuals. Please keep making content!

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

      Thanks for the kind comment, Barack Obama! :)

  • @chetanrana7778
    @chetanrana7778 3 роки тому +1

    After watching multiple videos on this topic this is the best and stands out

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

    Subscribed!! Your videos are incredibly helpful, please please keep it on!!

  • @shady5063
    @shady5063 3 роки тому +1

    you really know how to teach... honestly its a rare thing to find someone thats actually good at teaching. People think a teacher needs to master the subject, thats kinda true.... BUT! a teacher that masters teaching and understands a subject at a basic level is far superior than the teacher that masters the subject but is mediocre at teaching.

    • @BlueTreeCode
      @BlueTreeCode  3 роки тому

      Thank you very much for the kind comment, Shady. In teaching others, I truly believe that the delivery of knowledge is equally important to knowledge itself.

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

    Amazing videos, Keep it up buddy!

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

      @MUHAMMAD HAMZA SAJJAD Thanks for the kind comment! :)

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

    your the best please keep up the good work

    • @BlueTreeCode
      @BlueTreeCode  7 місяців тому

      Thank you!! Please don't forget to share the channel as it will help it to grow.

  • @avineetsingh6586
    @avineetsingh6586 3 роки тому

    great work

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

    Amazing videos. It helped me out a lot!

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

      @Leonardo Muñoz, glad it helped :)

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

    Please can u make videos explaining python code on these topics?

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

    Hi! How can I clone a stack using this implementation? Thanks!

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

      Hi CyberData World (I'm assuming you're talking about an algorithmic way and not something like java deep copy), so one way you can do this is to create getters and setters for the size and top instance variables (since they are private and can't be accessed outside the Stack class, unless ofc you remove the private modifier). You can then create 2 other stacks objects. In all you'll have 3 stacks. We can call them original, intermediate, and destination respectively. You can then push the integer values from the original stack to the intermediate stack using the push method. Then from the intermediate stack to the destination stack. This way you can preserve the order of the elements in the original stack. That's one way you can think about it. Hope this helps :)

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

      @@BlueTreeCode Hi! Yes I did it using that method! Thank you!!

  • @nicolaspellerin6765
    @nicolaspellerin6765 3 роки тому

    I try your program with mine and I have leak in my void pop. (in my program it is void not int)

    • @BlueTreeCode
      @BlueTreeCode  3 роки тому

      Hi Nicolas, the return type wouldn't cause an issue. Can you define what you mean by 'leak' as well as share your code? Thanks.

    • @nicolaspellerin6765
      @nicolaspellerin6765 3 роки тому

      @@BlueTreeCode i resolve my problem

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

    Please can u make videos explaining python code on these topics?