Stack Implementation - Linked List

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 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! :)

  • @9lofivibes
    @9lofivibes 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!!

    • @BlueTreeCode
      @BlueTreeCode  4 года назад

      Thanks a lot! Glad they help! :)

  • @muhammadhamzasajjad6181
    @muhammadhamzasajjad6181 4 года назад +1

    Amazing videos, Keep it up buddy!

    • @BlueTreeCode
      @BlueTreeCode  4 года назад

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

  • @shady5063
    @shady5063 4 года назад +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  4 года назад

      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.

  • @feventewodrostesfaye3194
    @feventewodrostesfaye3194 2 года назад

    your the best please keep up the good work

    • @BlueTreeCode
      @BlueTreeCode  10 месяцев назад

      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?

  • @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

  • @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!!

  • @nandinirm2234
    @nandinirm2234 2 года назад

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