Data structures: Introduction to stack

Поделиться
HTML-код
  • Опубликовано: 30 сен 2013
  • See complete series on data structures here:
    • Data structures
    In this lesson, we have described stack data structure as abstract data type.
    Lesson on Dynamic memory allocation:
    • Pointers and dynamic m...
    For practice problems and more, visit: www.mycodeschool.com
    Like us on Facebook: / mycodeschool
    Follow us on twitter: / mycodeschool

Комментарии • 138

  • @mycodeschool
    @mycodeschool  10 лет назад +106

    Hi Tejomay,
    There is no secret recipe. To be good at something, you need to do it for some time. Practice a lot. Solve a lot of problems and that's the only thing needed. Moreover, there are many who would have good programming skills. But not many are willing to teach and not many teach well. That's where we score probably. Check the about us section on our website to know about mentors associated with MyCodeSchool.

  • @whocaresifyouexist1374
    @whocaresifyouexist1374 3 года назад +34

    I will work in google someday. Mark my words. Even though i am very bad at programming and building logics i will get better, and i will always remember you guys in my success because you are a part of the reason i am what i am. I will work in google someday . This comment is a promise to myself and a declaration to the world.

  • @mycodeschool
    @mycodeschool  10 лет назад +7

    HI Hani,
    Check the second video in this playlist - Data structures: List as ADT. You can find a link to playlist in description.

  • @mr.dumpling9241
    @mr.dumpling9241 8 лет назад +2

    You produce my go-to videos for really solidifying the concepts. Great work, sir. Best C videos on youtube.

  • @spicynoooooodles
    @spicynoooooodles 3 года назад +1

    I love the stack ADT! One of the most intuitive data structures that there is and you sir explained it very clearly and comprehensively

  • @JCasper19
    @JCasper19 10 лет назад +78

    Thank you so much for all these videos! It helps incredibly! Also thanks for using subtitles on the videos, it helps a lot just being able to read things and not enough people on youtube do this. Again thanks for all you do it's awesome!

    • @mycodeschool
      @mycodeschool  10 лет назад +12

      Jeremy Roberts You are most welcome :)

    • @BulldogMindsetArchive
      @BulldogMindsetArchive 8 лет назад +9

      Subtitles definitely help those who don't understand. Awesome initiative!

    • @SonuSonu-tk5pk
      @SonuSonu-tk5pk 7 лет назад

      why?in ur country data structures are not taught!!

    • @jackfrost8969
      @jackfrost8969 5 лет назад +7

      @@SonuSonu-tk5pk ever heard about self taught ?

  • @hemantpatil1449
    @hemantpatil1449 8 лет назад +5

    You are an amazing teacher.
    Thank you so much and please keep on uploading such videos.

  • @rebeccakipanga478
    @rebeccakipanga478 10 лет назад +16

    OH MY DEAR TEACHER.....YOU ARE THE BEST!!!! THANKS BAYA!!!!

  • @suhridmathur6587
    @suhridmathur6587 8 лет назад +1

    Simply Amazing.
    You're best tutor online, and this is no overstatement :)

  • @spad4913
    @spad4913 5 лет назад +1

    Thank you so much. You're awesome, this video was so helpful. I wish you were my instructor. You took your time in explaining the basics and it was easy for me to follow through it all

  • @varunsingh3825
    @varunsingh3825 7 лет назад

    One of the best videos i have ever seen and learned, please please share C++ videos also related OOPs/OOAD/Design principles.. you are real guru

  • @theodrand
    @theodrand 8 лет назад +2

    You are a good teacher/explainer.

  • @ritamde9361
    @ritamde9361 7 лет назад +1

    The best explanation of data structures ever possible!! Thank you very much!

  • @ravianandrao7761
    @ravianandrao7761 3 года назад +2

    after my research i could conclude that this channel explains concepts in very amazing way right from basics and appropriate examples

    • @amritaanshnarain7524
      @amritaanshnarain7524 3 года назад

      What research?

    • @ravianandrao7761
      @ravianandrao7761 3 года назад

      @@amritaanshnarain7524 Going through different channels and forums as well as their way of explanation. Comparatively this channel seems to be imbibing fundamentals and necessary information

  • @msa-msa-msa
    @msa-msa-msa 7 лет назад +1

    This Videos Series is Incredible Awesome!!, you did a really appreciable hard work.

  • @piki217
    @piki217 4 года назад +2

    i love the part where you mention where stacts are used in real life situations. its something that a lot of people miss to say when teaching. great video.

  • @anjalirana4677
    @anjalirana4677 3 года назад +1

    your voice is always so soothing 😌

  • @shahriarmim4696
    @shahriarmim4696 5 лет назад +22

    the Top() function is also known as peek() method in JAVA
    #NoobLearningFact :D

  • @pl5778
    @pl5778 6 лет назад +2

    as a visual learner, really appreciate all the drawings, make understanding the inner workings really well!

  • @563woodcock
    @563woodcock 10 лет назад +3

    Sir please make a video on heap sort. Many thanx fr the awesome videos

  • @jamaanali6089
    @jamaanali6089 7 лет назад

    i will see 3 lecture of stacks of diffrent subscriber but cant understand but i have seen this all my doubt have clear thank sir

  • @sanjaysmahajan
    @sanjaysmahajan 6 лет назад

    Simplicity and accuracy in lecture very nice

  • @dharanishpalreddy9219
    @dharanishpalreddy9219 7 лет назад

    the best teacher of coding ....

  • @Haifa992
    @Haifa992 10 лет назад

    hey thanks for these lessons , really helped me.
    could you film the queue part sooner i have an exam next Tuesday.

  • @TheticblogLive
    @TheticblogLive 7 лет назад

    loved it, great guide!

  • @justivyke
    @justivyke 10 лет назад +7

    Thank you so much for the videos.. They are realy helpful and absolutely understandable. Please could you make a ideo on heap sort?

    • @mycodeschool
      @mycodeschool  10 лет назад +8

      Igwe Justin Ok, but it will take some time.

    • @justivyke
      @justivyke 10 лет назад +2

      Alright thanks... We can wait for it ;)

    • @SonuSonu-tk5pk
      @SonuSonu-tk5pk 7 лет назад +2

      why?in ur country data structures are not taught!!

    • @justivyke
      @justivyke 7 лет назад +12

      Sonu Sonu, no I dont have a country. ;)

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

      @@SonuSonu-tk5pk Does that make sense?

  • @mycodeschool
    @mycodeschool  10 лет назад +1

    Hi Sunil,
    We will get more in DS series soon. Java will take some time.

  • @drsaluto
    @drsaluto 7 лет назад +1

    I have done a lot of learning and revision of code in C from here. Thank you.
    Do you have any videos on hash tables?
    Please link me to where you have posted them if so.
    Thanks.

  • @ryan-wy4nz
    @ryan-wy4nz 8 лет назад

    you are a good teacher!

  • @usama57926
    @usama57926 6 лет назад +1

    thanks for uses of stack

  • @nehmaheshnair9570
    @nehmaheshnair9570 3 года назад

    It was point wise explaination...i really loved it when u said we can take plates from the middle😂😂....explaining with examples was very easy to understand👌👌

  • @lavender4322
    @lavender4322 7 лет назад

    Thank you! You are amazing.

  • @SG-lz2zq
    @SG-lz2zq 10 лет назад

    plz also upload videos for queues,hash tables,trees,graphs.! cz dis is really realy helpful !

  • @azizas9366
    @azizas9366 8 лет назад +8

    #mycodeschool
    Will you upload the video about circular list ?
    Thank you so much ?

  • @kalsoomasghar1344
    @kalsoomasghar1344 8 лет назад +1

    I wish you were my teacher. It was an excellent video.

  • @QiMU01
    @QiMU01 6 лет назад +1

    I love your videos, mycodeschool! Please make more!

    • @shafai8133
      @shafai8133 5 лет назад

      Unfortunately, he cant make more videos, he is dead. :(

    • @iitnakanpur..
      @iitnakanpur.. 4 года назад

      @@shafai8133 True😢😢

  • @iamsksuthar
    @iamsksuthar 10 лет назад

    Hi sir,
    How about Java Lectures?
    And more on DC in c/c++?
    Your videos are really helping us.

  • @HaniYahya9
    @HaniYahya9 10 лет назад +1

    Thank you so much, would you please make a video about dynamic arrays in c++? Thanks

  • @AnandKumar-kz3ls
    @AnandKumar-kz3ls 6 лет назад

    just simple and clear

  • @swatisharma765
    @swatisharma765 7 лет назад +2

    O(1) means that it takes a constant time, like 14 nanoseconds, or three minutes no matter the amount of data in the set.
    O(n) means it takes an amount of time linear with the size of the set, so a set twice the size will take twice the time.
    (from::: stackoverflow.com/users/36093/karl)

  • @krishanudutta2943
    @krishanudutta2943 3 года назад

    Thanks for this awesome lecture

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

    Your video are amazing! TY

  • @varunsaproo4120
    @varunsaproo4120 9 лет назад +48

    sir being an indian, ur english is amazing

    • @jkub6425
      @jkub6425 6 лет назад +5

      this is first nice and understandable english for indian teacher!! much respect

    • @vikrant4666
      @vikrant4666 6 лет назад +5

      i live in usa and i go to beach many times

    • @ayushsrivastava5278
      @ayushsrivastava5278 6 лет назад +1

      what's ur point dude??

    • @vikrant4666
      @vikrant4666 6 лет назад +5

      my point is yuri gagrin was first one

    • @singh_mk
      @singh_mk 5 лет назад

      @@vikrant4666 definitely, not the first

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

    Thanks for brief explanation

  • @israamousa6587
    @israamousa6587 7 лет назад

    first
    thank you for your helping ,second
    can you explain the implementation of mazes game using stack and queue to help to help for our homework quickly

  • @tajuddinjoy358
    @tajuddinjoy358 7 лет назад +1

    Thank you so much....

  • @syedfaizali734
    @syedfaizali734 5 лет назад

    thank u sir ur lacture so helpful for us

  • @MystiqMiu
    @MystiqMiu 6 лет назад

    Incredibly helpful~~

  • @user-ch1eo8pu4o
    @user-ch1eo8pu4o 6 лет назад

    Thankyou for this!

  • @jancheck
    @jancheck 10 лет назад

    Your videos are AWESOME :)

  • @chaudharyadityakumar6149
    @chaudharyadityakumar6149 6 лет назад +1

    Easy ,short ,clear and whoww.

  • @mycodeschool
    @mycodeschool  10 лет назад +6

    Thanks a lot :)

    • @sakshisoni4151
      @sakshisoni4151 5 лет назад

      R these videos helpful for GATE preparation??

  • @amateurbeginner7538
    @amateurbeginner7538 7 лет назад

    god bless this guy

  • @jsrkjsrr6492
    @jsrkjsrr6492 8 лет назад +1

    actually ,there is no channel available on the yutub witch is provide coading in c for data structure...

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

    The best 👍🙏

  • @manveernijjar1075
    @manveernijjar1075 8 лет назад

    Very explained mate :)

  • @atrangi_musings
    @atrangi_musings 9 лет назад +1

    very nice thanks

  • @monukumarmodi6551
    @monukumarmodi6551 6 лет назад

    what are the examples of Stack which is used in product based Company?

  • @saisrisai9649
    @saisrisai9649 6 лет назад

    Thank u sir ❤️

  • @usama57926
    @usama57926 6 лет назад +1

    thank u

  • @tristanhurley9071
    @tristanhurley9071 3 года назад

    well done

  • @saikrishna1968
    @saikrishna1968 8 лет назад

    tysm.....I wish u were my teacher

  • @kamildino
    @kamildino 6 лет назад

    Hi good evening I have questions
    If you help me and thanks. Q/ Write an algorithm to execute infix notation (number consists of more than one rank ) using the stack.
    Hint:- for example (12+28=40)

  • @aybin.v.k9562
    @aybin.v.k9562 7 лет назад

    thankss......

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

    The top() can be also called peek

  • @mycodeschool
    @mycodeschool  10 лет назад +2

    Hi Haifa,
    Sorry, we could not shoot video on queue in time for you. :( .. All the best for your exam.

  • @thebestfella
    @thebestfella 9 лет назад

    you are awesome!!!!

  • @sachinmadishetty7978
    @sachinmadishetty7978 9 лет назад

    sir can u upload more videos in DS THROUGH C!!!!

  • @vipulgupta5073
    @vipulgupta5073 7 лет назад +1

    you have not shown how to Insert node at nth position and also how to delete any node

  • @keerthyreddy7778
    @keerthyreddy7778 6 лет назад

    Sir could u make lessons on structures

  • @RaunakRitesh
    @RaunakRitesh 7 лет назад

    thank you so much :D

  • @changaizkhan6684
    @changaizkhan6684 6 лет назад

    Great.....

  • @muhammadadnanakmal9590
    @muhammadadnanakmal9590 10 лет назад

    Awesome explanation of stack but sir tell one thing if your stack is full mean your last index of array contain some data and you want to push data in your stack now your push method give an error or not ??because you don't have space in your stack can you tell me that how we implement this logic in over push method ??

    • @mycodeschool
      @mycodeschool  10 лет назад

      Muhammad Adnan Akmal If the stack is full, we either need to throw some error or we need to increase the array size in which we are storing the stack. Increasing size of same array is not possible. So, we can create a new larger array (typically twice the size of previous) and copy all the elements from previous array to new one.

    • @muhammadadnanakmal9590
      @muhammadadnanakmal9590 10 лет назад

      mycodeschool
      sir can you make lecture series of object oriented programming
      because your way of explanation is very good

  • @ParichayChatterjee
    @ParichayChatterjee 8 лет назад +1

    @Mycodeschool sir, I wish I had found your videos a bit earlier....bad luck I guess!

  • @PrithaMajumder
    @PrithaMajumder 6 лет назад +5

    circular linked list????

    • @DarkSide-vf4wb
      @DarkSide-vf4wb 6 лет назад +1

      Suppose the last node you enter is :
      node* lastNode= new node();
      lastNode->data= 4;
      lastNode->next=head; // This will link the last node back to the head forming a circular linked list.

  • @basvanipatil535
    @basvanipatil535 6 лет назад

    Good job:)

  • @sachinmittal7513
    @sachinmittal7513 8 лет назад

    sir please add videos on java also

  • @Ushio11.11
    @Ushio11.11 6 лет назад

    I love your voice😍

  • @anubhavsarkar3958
    @anubhavsarkar3958 8 лет назад

    Make a video on html introduction

  • @kal5211
    @kal5211 3 года назад

    My man!

  • @technstuff394
    @technstuff394 7 лет назад

    can u please tell me which software u r using to create these videos

  • @namanjain5592
    @namanjain5592 3 года назад

    still gold

  • @jsrkjsrr6492
    @jsrkjsrr6492 8 лет назад

    if u will put the video's of data structure through c programming in your channel that' better for me....

  • @m.sushmamerugumala1099
    @m.sushmamerugumala1099 6 лет назад

    very good to learners

  • @Calm_Energy
    @Calm_Energy 6 лет назад

    are ALL stacks LIFO? Or can a programmer create a FIFO one? I did try to research the answer to this question myself but to no avail, however I found a nice resource along the way: www.cs.cmu.edu/~adamchik/15-121/lectures/Stacks%20and%20Queues/Stacks%20and%20Queues.html

  • @jsrkjsrr6492
    @jsrkjsrr6492 8 лет назад

    plz send me link of any channel which can help me...

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

    Make video on circular linked list

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

      ruclips.net/video/8JVrAvs5UqU/видео.html check here for circular linked list implementation if you like please subscribe to this channel

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

      @@devarapallisrilakshmi8445 semester is over...but thanks anyway😊

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

    Why does interviewbit.com link to all of your channel's videos? Are you guys affiliated?

  • @vikrant4666
    @vikrant4666 6 лет назад +1

    u r nominated for noble prize for helping the poor people. lol

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

    circular linked lists??

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

      ruclips.net/video/8JVrAvs5UqU/видео.html check here for circular linked list implementation if you like please subscribe to this channel

  • @Monobrow02
    @Monobrow02 8 лет назад

    "I want to push number 2 onto the stack"... hehe

  • @davidmalin41
    @davidmalin41 10 лет назад +1

    When your are releasing 'java videos'

    • @mycodeschool
      @mycodeschool  10 лет назад +1

      david malin - I am completing the data structures series first. Java videos will take some time. :(

  • @palashrathore6277
    @palashrathore6277 5 лет назад

    It is very sad that the man behind the video died in a hit and run accident #RIP Humbelfool !

    • @iexplainjokestomakethemles1560
      @iexplainjokestomakethemles1560 5 лет назад

      jokin?

    • @shairiaaz8298
      @shairiaaz8298 3 года назад

      @@iexplainjokestomakethemles1560 nope it's true. Search for Humblefool. He was one of the best coders in India. Sadly he passed away in an accident

  • @prakashshrestha8066
    @prakashshrestha8066 6 лет назад

    Break the glass and take out the tennis ball

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

    LIFO is like LOFI but backwards

  • @rerfcse8322
    @rerfcse8322 9 лет назад

    U R MY GOD ..I CAN SIMPLY SAY THAT

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

    annndddd didnt help...

  • @anubhavsarkar3958
    @anubhavsarkar3958 8 лет назад

    Make a video on html introduction