3.6 Infix to Postfix using Stack | Data Structures Tutorials

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • In this lecture, I have discussed an efficient algorithm to convert infix to postfix using stack in data structure.
    DSA Full Course: https: • Data Structures and Al...
    ******************************************
    See Complete Playlists:
    C Programming Course: • Programming in C
    C++ Programming: • C++ Complete Course
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    DAA Course: • Design and Analysis of...
    Placement Series: • Placements Series
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    ********************************************
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    #jennyslectures #gatecs #dsa

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

  • @ragexp7371
    @ragexp7371 2 года назад +168

    you are the best datastructure teacher i've ever seen, because u teach really well and selects EXCELLENT quetions which has all the possibilities/outcomes , so i hv zero doubts in the end

  • @brendamakokha
    @brendamakokha 4 года назад +676

    Thank you! Lots of love from Nairobi, Kenya. Indian lecturers are the best

  • @UsmanAli-xj2jt
    @UsmanAli-xj2jt 3 года назад +215

    I along with my all classmates listened to your lecture before our DSA mid-exam. Your lectures have been so helpful. Thanks you so much :)

    • @alphatechtutorials6578
      @alphatechtutorials6578 2 года назад +7

      me too bro

    • @UsmanAli-xj2jt
      @UsmanAli-xj2jt Год назад

      @@ittzanuptiwari152 attankwadi to me pehle hi tha DSA prh k to tuje danda dena tha bhrwe

    • @gunjanmahajan3968
      @gunjanmahajan3968 Год назад

      @@alphatechtutorials6578 final mein bhi

    • @farhad6365
      @farhad6365 Год назад

      humra kal xm hay... humko pura classsmate nahi mila is liye gf ke sath dekhne bahtha hu....

    • @UsmanAli-xj2jt
      @UsmanAli-xj2jt Год назад +7

      @@farhad6365 Theek hai bhai khush reh me bhi ye course pass krne k baad abhi GF k saath hi betha hun

  • @coolgoose8555
    @coolgoose8555 3 года назад +23

    I have been watching your videos from sometime now... I have been working from long time in the industry and it's been to get a quick refresher of these concepts which are fundamental to CS. Not only these videos are relevant to students in school but equally relevant to folks who are working in industry or even preparing for interviews..... This is very good work.... I think it would also be great if you add section in your videos where you can also go through applications of the the algorithm..... Prof. Sedgwick videos are pretty good on that format but it very limited and only about certain topics..... Something to consider as I see you have large community and its only going to grow.... Good work!!!!

  • @dylanfadhili
    @dylanfadhili 3 месяца назад +9

    Not all heroes wear capes. Some are just really good at explaining infix and post fix. 👏🏾

  • @snehasural6560
    @snehasural6560 Год назад +15

    This is the best lecture for Infix to Postfix on RUclips.

  • @vishwabhatt20
    @vishwabhatt20 4 года назад +17

    damn! i need to say that you explain everything in a very clear manner...i listen my online sessions and then i search for the same topic here..once done from both platfroms...the topic is very clear in the mind!. thank you so much❤❤❤❤❤

    • @enbasagar2007
      @enbasagar2007 4 месяца назад

      brother now are you doing now? after 3 years?

  • @alpapatel8656
    @alpapatel8656 Год назад +5

    I have my exams today for data structures i studies all topics but i had doubt in infix to prefix and postfix conversion now i have mastered it thank you so much ma'am

  • @anuragchowdhury4101
    @anuragchowdhury4101 4 года назад +12

    I think this video is going to save my grades. Watching it a day before the semester exam. Thank You so much for such quality videos.

  • @nitinkhilari1389
    @nitinkhilari1389 4 года назад +10

    Way of explaining the concept is excellent 👌

  • @madhumohan2419
    @madhumohan2419 2 месяца назад +1

    I guarantee you that there is no teacher in the world who explains infix to post fix better than this.. thanks a lot mam...

  • @myrtlefernandes716
    @myrtlefernandes716 3 года назад +5

    I love watching your videos. You have simplified data structures❤️❤️

  • @jaisuriyar5259
    @jaisuriyar5259 4 года назад +181

    Tomorrow is my data structure exam....
    Thank you

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

      Bhai Mera Kal h

    • @VikasGupta-el7bn
      @VikasGupta-el7bn 4 года назад +2

      Mera bhi hai bahi

    • @AbdulMajeed-hj1vy
      @AbdulMajeed-hj1vy 4 года назад

      @@thanosbhai9018 hahahahahahaah

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

      So how much do you guys score in exam??

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

      @@akashlenka4068 in last mid I got,14 out of 20😁.....😂🤣, let's see ......how much I will get Tommorow 😌

  • @flawlessme9714
    @flawlessme9714 3 года назад +11

    Great explanation covered each and every rule it's just amazing.

  • @smrutirekharoutray9438
    @smrutirekharoutray9438 Год назад +4

    19:16 mam it's mind blowing lecture ❤ before some day I hatted to read DSA but when I started to see your lecture, I loved this subject so much ❤ thank you so so so so so much maam ❤🙏

  • @Sanjaysview
    @Sanjaysview Год назад +3

    Easy, crystal clear, detailed, explanation . Thank you!

  • @gokulsaravanan1696
    @gokulsaravanan1696 Год назад +6

    mam i was taught that two same priority operators cannot be together in a stack just like that ...but u only explained abt associativity...Thank you so much mam !

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

    You made all my data structure journey .thanks you so much

  • @MrKolBai
    @MrKolBai 4 года назад +92

    when i lots of Q. in my mind later I got an answer. this one the great of the skill of a teacher to know audience's minds.

  • @RiyaKumari-jt4fx
    @RiyaKumari-jt4fx 3 года назад +11

    First time on your channel mam..felt awesome😇😇😇🙃🙃..love from Dhanbad🥰❣

  • @rockstardhruvyt1564
    @rockstardhruvyt1564 3 года назад +4

    The best teacher as I have exam tommorow and this video helped me

  • @CountMordecai
    @CountMordecai 3 года назад +7

    This is really going to help for my exam, thank you so much.

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

    i have never seen this type of teaching . next level keep it up mam

  • @andrewrobertrios
    @andrewrobertrios Год назад

    this is the best infix to postfix tutorial i have found. thanks for the great instruction!

  • @devkinandansharma4796
    @devkinandansharma4796 3 года назад +3

    Thanks 😊 mam I was struggling with all these and finally got my something that I could understand fully thanks so much 💗

  • @ashishidhol769
    @ashishidhol769 3 года назад +4

    Really helpful mam.. Thank you for explaining this beautiful concept in single example.

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

    One example and my all doubt cleared...
    Just excellent way to explaining...

  • @anjigolla4853
    @anjigolla4853 3 года назад +3

    Thank you so much mam, your explanation is very clearly and informative, before seeing this video I have so many doubts in mind but after seeing this video I got answers for that doubts. Thank you mam🎉🎉

  • @varunrawat599
    @varunrawat599 3 года назад +29

    The only youtuber who never pleads you to subscribe or like!

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

    Thank you ma'am, found the video very helpful and easy to follow! 😄

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

    FOREHEAD PAR JO METHOD SOLVING EXPRESSION HOTA HAI AAPKE ...HALF PROBLEM THO USSE HE SAMAJ AA JA THI HAI...AWESOME DEAR ...GOD BLESS NU ALWAYS

  • @PrashantKumar-xf6cx
    @PrashantKumar-xf6cx 4 года назад +5

    Mam yours explaining technique is Awesome ❤
    Love u mam💕

  • @thecloudterminal
    @thecloudterminal Год назад +9

    Thank you for great explanation and putting so much effort mam 🙏

  • @cssoura4860
    @cssoura4860 3 года назад +80

    This will surely get me 100/100 in my board exams, this is very common question in our wbchse cs paper 😃, thanks a lot ma'am 😇 love from bengal 🥳

    • @MO-fg2cm
      @MO-fg2cm 2 года назад +8

      Oh so you are that GATE air 1 guy

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

    seriously one of the best teachers in the world of DSA love from Pakistan.

  • @abdullahhilal1467
    @abdullahhilal1467 4 года назад +3

    tnk u so much mam ..... i really appreciate ur way of teaching . Love from Afghanistan ❤️

  • @CricketFreak0007
    @CricketFreak0007 4 года назад +3

    Mam i am deeply in love with your explaination techniques..... you are the best....... thank you & love you

  • @evergreenhits519
    @evergreenhits519 4 года назад +3

    Seriously No Words Thank A Lot Mam☺️

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

    way of teaching is very good and this topic is not understand by me in online classes and lot of youtube lectures are seen but not understood
    finally i can watch this video and mam really helped me .
    thank you so much mam

  • @doyen2365
    @doyen2365 Год назад

    Yaar ye ma'am kinti achi hai.....and concept bhi clear ho gaya. Thank you.

  • @zeenatjahan3516
    @zeenatjahan3516 3 года назад +6

    Ma'am ap bahut achee ho..u help us in every possible ways ❤️

  • @rakeshpatel4894
    @rakeshpatel4894 3 года назад +10

    Madam generally I'm not interested in data structures but, after listening ur classes intrested in data structures.thank you mam😊

  • @abhishek.p
    @abhishek.p 3 года назад +1

    Seriously , thankyou so much mam for making this topic so simple to understand.

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

    Mam, I really like the way of your explanation and especially your fluent English, Knowledge and confidence 🙏🙏🙏🙏

  • @eren-pd4md
    @eren-pd4md Год назад +4

    mam aap itni sundar ho ki mera sara dhyaan aap pe tha, video dobara dekhni padi samajhne ke liye

  • @donaantony594
    @donaantony594 2 года назад +15

    Thank you so much ma'am. I could score high marks in Data Structures in C and I'm greatly obliged to you for this.🥰thanks a lot ma'am..

  • @krittikapal2068
    @krittikapal2068 2 года назад +1

    Ma'am your videos are very helpful and your teaching style is really amazing.

  • @harshadjogi2314
    @harshadjogi2314 7 месяцев назад +1

    Thank you so much mam tomorrow is my exam of ds and I can't understand this topic but after seen your lecture I conclude it very well the way you are is much better thank you so much again 💗

  • @BhaiyajiiManish
    @BhaiyajiiManish Год назад +4

    Mam you are osm...and your teaching style is also osm

  • @kutsololohe9296
    @kutsololohe9296 3 года назад +10

    I won't skip classes if you were my class teacher... Thanks a lot.

  • @wilsonumunna
    @wilsonumunna 8 месяцев назад

    Thank you so much. You gave a well detailed explanation even better than my data structure teacher at school. I really appreciate😊

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

    thank you so much ma'am, I have been watching your videos for a couple of weeks now, aap nahi hote toh humara kya hota

  • @kankmukray
    @kankmukray 4 года назад +4

    Thank you so much mam. It's really very helpful.

  • @aryamangaur2512
    @aryamangaur2512 Год назад +6

    Thank you ma'am it was very helpful for me to learn how to convert infix to postfix using stack

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

    Very helpful videos..... These are of great help to me for exam preparations....🙂

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

    Tqsm for clear explanation ma'am. U have huge patience.

  • @shreechatane9215
    @shreechatane9215 3 года назад +3

    may your channel reach 1 million this year

  • @prithvigupta8215
    @prithvigupta8215 3 года назад +11

    If the precedence of the incoming operator is higher than the operator at the top of the stack then directly push the incoming operator in the stack.
    If it's lower,pop the operator at the top of the stack and then compare the incoming operator with the operator at the top of stack.
    If the precedence is same then check associativity.If associativity left to right then pop the top of the stack.If it is right to left then add the incoming operator to stack.

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

    i just love you , great teacher ! thank you for your great explanations

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

    I am from ETHIOPIA .u help me very nice. thanks !!!!!!!!!!!!!!!! CONTINUE

  • @nag1914
    @nag1914 4 года назад +42

    just awesome.. wish i had a teacher like you during my MCA..:-)

  • @avirajkumar3755
    @avirajkumar3755 3 года назад +3

    After watching your every new lecture:-
    Le Me : " Hamare Mnn me aapke liye izzat aur badh gyi ".🎉🎉

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

    The lecture you tell that's always in my mind.... Bcoz the way your teaching can't forget madam... 😉🙃

  • @ngaurav113
    @ngaurav113 5 месяцев назад +1

    Amazing teaching skill, My all doubts are clear now... Thank you for this precious lecture

  • @nickharalampopoulos
    @nickharalampopoulos 4 года назад +22

    Another very good explanation from Jenny. Thank you! I have one question though. What we do in a case like this? (1-2)+-(-(-(-4))) or this? 2/2+3*4.75-(-6)

    • @anujjadhav2175
      @anujjadhav2175 2 года назад +1

      Maybe we can iterate ones and convert all the -- to +, just an idea

    • @sohammukherjee1392
      @sohammukherjee1392 2 года назад +1

      #include
      using namespace std;
      int precedence(char x)
      {
      if(x=='+' or x=='-')
      return 1;
      else if(x=='*' or x=='/')
      return 2;
      else if(x=='^')
      return 3;
      else
      return 0;
      }
      void infixtoPostfix(string s)
      {
      stack st;
      string result;
      for(int i=0;i='a' and c='A' and c='0' and c

    • @Dishant1214
      @Dishant1214 Год назад +1

      Then You Should Stop Attempting The Question

  • @dharma3404
    @dharma3404 4 года назад +6

    EXCELLENT 💓 MADAM

  • @gamingwithhemend9890
    @gamingwithhemend9890 Год назад +1

    This is a High quality explanation !! i ever saw ...Thanks so much Jayanti !!!!!

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

    Very well explained need like ur teacher in our college and I appreciate your hardwork 👍.

  • @tanveeraziz7416
    @tanveeraziz7416 4 года назад +4

    Excellent way of teaching 👌

  • @CMDkiller
    @CMDkiller Год назад +4

    thank you maam🥰

  • @programsolve3053
    @programsolve3053 2 года назад +1

    Very well explained Mam!! Books couldn't clearly explain all the intricacies properly!!
    Many many thanks🙏🌹❤ to you!!

  • @princeGupta-jr9gw
    @princeGupta-jr9gw 3 года назад +1

    Way of explaining the concept is really Osm... Thanks alot for share this topic..

  • @atheermohamed1207
    @atheermohamed1207 4 года назад +8

    Thank You so much , Jenny :)

  • @MrMutant-v1h
    @MrMutant-v1h 4 года назад +5

    Thanks mam ...aapki smile bdi pyaaari h ☺😊

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

    Best ever and simple explanation I came across👍👍

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

    Am really thankful for u mam amazing class no words more can say

  • @sriyakorapolu4722
    @sriyakorapolu4722 3 года назад +7

    It would be great if you could explain the codes for infix to postfix conversion and postfix evaluation ma'am . Thankyou for the lectures

  • @manaschoudhary2079
    @manaschoudhary2079 3 года назад +4

    Mam, In the rules you have told that if equal precedence operator has come then simply pop out top of the stack and print and after that simple push the incoming operator.But in example you have recheck the the incoming operator with stack even after poping.How??? I'm little bit confused.

  • @mehedihasanmunnahasan9174
    @mehedihasanmunnahasan9174 2 месяца назад

    Thank you! Lots of love from Khulna,Bangladesh . Indian lecturers are the best.

  • @luimornings4658
    @luimornings4658 Год назад +1

    May God bless you for explaining it so well 🙏 💖 😊

  • @classcure9769
    @classcure9769 4 года назад +4

    Love uuh...❤❤

  • @shubhamsharmaE
    @shubhamsharmaE 4 года назад +16

    Mam I seriously want to thank u frm the bottom of my ❤️. You saved my dsa paper frm getting supply ..now u became my favorite mam as well as crush too
    Seriously u r so cute and the way u talk ND explain...I m in love with ur personality

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

    amazing explanation of this topic thank you,u r brilliant

  • @Thamaraiyselvan
    @Thamaraiyselvan 8 месяцев назад +2

    It's really helped me a lot dear at morning time before exam ...😂
    Really loved it ..❤

  • @ce13harshazad2
    @ce13harshazad2 4 года назад +4

    Even i am learning this because of you mam although my branch is civil engineering

    • @gmilitia3803
      @gmilitia3803 4 года назад +4

      Ye thoda jyada ho gya bhai😂😂😂

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

      Dekne ka motive thoda kuch aur bhi hai naa

  • @AdityaYadav-yy6bj
    @AdityaYadav-yy6bj 4 года назад +14

    can someone hear "Now" that she said at 9:26 in loop, its simply awesome..

  • @SandeepKumar-kj8sg
    @SandeepKumar-kj8sg 3 года назад

    Very very thanks
    I have to seen many lecture but I am confused
    When I saw your lecture I am completely clear to solve this problem

  • @ai.201
    @ai.201 4 года назад +1

    Thanks ma'am, you made it so easy.

  • @hamzajaved1115
    @hamzajaved1115 4 года назад +7

    Your Smile 😍😍😍😍

  • @satyendra3247
    @satyendra3247 Год назад +5

    I am here from jobless guy ❤

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

    Thanks mam finally I am understand that how we can convert infix to postfix expression

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

    Thank you so much ❤️💕 this video helps me a lot.

  • @aozukinn
    @aozukinn 4 года назад +9

    한국어 자막 잘 만들었어요.

  • @gss8594
    @gss8594 4 года назад +4

    I can live by watching your smile

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

    the way you explain the topic was excellent thank you mam.......

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

    You are the one who is saving It students life🙏 thanku mam🙏

  • @sumayyakhan2004
    @sumayyakhan2004 Год назад +6

    YOUR VIDEOS ARE HELPING ME SM. THANKU SM MA'AM!!! YOU DESERVE SM MORE 😭💗

  • @ajitpai1852
    @ajitpai1852 4 года назад +9

    When do we use this infix to postfix conversion. Can you point out some real time examples please. Thank you!

    • @CyberSecbyAnshika
      @CyberSecbyAnshika 3 года назад +7

      The computer memory first converts the expression from infix to postfix and then perform calculations

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

      compiler

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

    Thank you for the wonderful explanation.. It was really helpful

  • @shivambhanu2757
    @shivambhanu2757 Год назад

    Very good lecture. Understood the rules clearly.