3.6 Infix to Postfix using Stack | Data Structures Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ต.ค. 2019
  • 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

ความคิดเห็น • 925

  • @ragexp7371
    @ragexp7371 2 ปีที่แล้ว +159

    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 ปีที่แล้ว +661

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

    • @rk.79
      @rk.79 3 ปีที่แล้ว

      th-cam.com/video/C0f1gz_MBQE/w-d-xo.html

    • @s_vasudev
      @s_vasudev 2 ปีที่แล้ว +59

      Money heist

    • @saqibkhan6752
      @saqibkhan6752 2 ปีที่แล้ว +31

      How you alive??

    • @SivaKumar-ib6tr
      @SivaKumar-ib6tr 2 ปีที่แล้ว +1

      Hiii

    • @suryajith4220
      @suryajith4220 2 ปีที่แล้ว +22

      Where is Denver Tokyo..

  • @UsmanAli-xj2jt
    @UsmanAli-xj2jt 3 ปีที่แล้ว +213

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

  • @snehasural6560
    @snehasural6560 ปีที่แล้ว +13

    This is the best lecture for Infix to Postfix on TH-cam.

  • @dylanfadhili
    @dylanfadhili 2 หลายเดือนก่อน +7

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

  • @Sanjaysview
    @Sanjaysview ปีที่แล้ว +3

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

  • @vishwabhatt20
    @vishwabhatt20 3 ปีที่แล้ว +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 3 หลายเดือนก่อน

      brother now are you doing now? after 3 years?

  • @flawlessme9714
    @flawlessme9714 3 ปีที่แล้ว +11

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

  • @alpapatel8656
    @alpapatel8656 ปีที่แล้ว +4

    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

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

  • @myrtlefernandes716
    @myrtlefernandes716 3 ปีที่แล้ว +5

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

  • @nitinkhilari1389
    @nitinkhilari1389 4 ปีที่แล้ว +10

    Way of explaining the concept is excellent 👌

  • @yohannesdejene1203
    @yohannesdejene1203 2 ปีที่แล้ว +4

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

  • @madhumohan2419
    @madhumohan2419 หลายเดือนก่อน +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...

  • @andrewrobertrios
    @andrewrobertrios ปีที่แล้ว

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

  • @anuragchowdhury4101
    @anuragchowdhury4101 3 ปีที่แล้ว +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.

  • @evergreenhits519
    @evergreenhits519 4 ปีที่แล้ว +3

    Seriously No Words Thank A Lot Mam☺️

  • @gokulsaravanan1696
    @gokulsaravanan1696 11 หลายเดือนก่อน +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 !

  • @tithidas3001
    @tithidas3001 4 ปีที่แล้ว +2

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

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

  • @ashishidhol769
    @ashishidhol769 3 ปีที่แล้ว +4

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

  • @doyen2365
    @doyen2365 ปีที่แล้ว

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

  • @CountMordecai
    @CountMordecai 3 ปีที่แล้ว +7

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

  • @thecloudterminal
    @thecloudterminal ปีที่แล้ว +9

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

  • @rockstardhruvyt1564
    @rockstardhruvyt1564 3 ปีที่แล้ว +4

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

  • @abdulqudoos6824
    @abdulqudoos6824 2 ปีที่แล้ว

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

  • @sunilantaragangi7345
    @sunilantaragangi7345 3 ปีที่แล้ว +2

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

  • @smrutirekharoutray9438
    @smrutirekharoutray9438 11 หลายเดือนก่อน +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 ❤🙏

  • @ishangadekar
    @ishangadekar 2 ปีที่แล้ว +3

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

  • @anonymousvevo8697
    @anonymousvevo8697 3 ปีที่แล้ว +1

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

  • @ShobhitGoswami
    @ShobhitGoswami 3 ปีที่แล้ว +2

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

  • @PrashantKumar-xf6cx
    @PrashantKumar-xf6cx 4 ปีที่แล้ว +5

    Mam yours explaining technique is Awesome ❤
    Love u mam💕

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

  • @lamborghiniveneno8423
    @lamborghiniveneno8423 3 ปีที่แล้ว

    Best ever and simple explanation I came across👍👍

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

  • @varunrawat599
    @varunrawat599 3 ปีที่แล้ว +29

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

    • @abhishekjha8220
      @abhishekjha8220 2 ปีที่แล้ว +1

      @Wxld.. 😂

    • @johubify
      @johubify 2 ปีที่แล้ว

      Physics Wallah, ALAKH PANDEY

  • @kankmukray
    @kankmukray 4 ปีที่แล้ว +4

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

  • @abhishek.p
    @abhishek.p 3 ปีที่แล้ว +1

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

  • @RiyaKumari-jt4fx
    @RiyaKumari-jt4fx 3 ปีที่แล้ว +11

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

  • @CricketBaba007
    @CricketBaba007 4 ปีที่แล้ว +3

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

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

  • @Quistken
    @Quistken 2 หลายเดือนก่อน +1

    These videos have been so helpful 😊

  • @desalegnbelay9088
    @desalegnbelay9088 3 ปีที่แล้ว +1

    amazing explanation of this topic thank you,u r brilliant

  • @abdullahhilal1467
    @abdullahhilal1467 4 ปีที่แล้ว +3

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

  • @cssoura4860
    @cssoura4860 3 ปีที่แล้ว +79

    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

  • @luimornings4658
    @luimornings4658 ปีที่แล้ว +1

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

  • @krittikapal2068
    @krittikapal2068 2 ปีที่แล้ว +1

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

  • @zeenatjahan3516
    @zeenatjahan3516 3 ปีที่แล้ว +6

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

  • @shreechatane9215
    @shreechatane9215 3 ปีที่แล้ว +3

    may your channel reach 1 million this year

  • @shivambhanu2757
    @shivambhanu2757 ปีที่แล้ว

    Very good lecture. Understood the rules clearly.

  • @ashenefchekol2152
    @ashenefchekol2152 4 ปีที่แล้ว +2

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

  • @rakeshpatel4894
    @rakeshpatel4894 2 ปีที่แล้ว +10

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

  • @BhaiyajiiManish
    @BhaiyajiiManish ปีที่แล้ว +4

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

  • @ngaurav113
    @ngaurav113 4 หลายเดือนก่อน +1

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

  • @sivamani8383
    @sivamani8383 2 ปีที่แล้ว

    Thank you mam , your explanation is simply superb..👌

  • @aryamangaur2512
    @aryamangaur2512 ปีที่แล้ว +6

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

  • @eren-pd4md
    @eren-pd4md ปีที่แล้ว +4

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

  • @danielstephenson7558
    @danielstephenson7558 2 ปีที่แล้ว

    I really enjoyed this explanation. Thanks!

  • @riz_669
    @riz_669 2 ปีที่แล้ว

    U helped with all the programs…tq🙌

  • @CMDkiller
    @CMDkiller ปีที่แล้ว +4

    thank you maam🥰

  • @kutsololohe9296
    @kutsololohe9296 3 ปีที่แล้ว +10

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

    • @mmm2233
      @mmm2233 ปีที่แล้ว +1

      😏

  • @subhashtulsyan9473
    @subhashtulsyan9473 4 ปีที่แล้ว +1

    You are doing great.God bless you.😀

  • @akashkrishna1043
    @akashkrishna1043 3 ปีที่แล้ว +1

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

  • @nag1914
    @nag1914 4 ปีที่แล้ว +42

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

  • @dharma3404
    @dharma3404 4 ปีที่แล้ว +6

    EXCELLENT 💓 MADAM

  • @varunrhebbar7209
    @varunrhebbar7209 4 ปีที่แล้ว +1

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

  • @monikadesai8251
    @monikadesai8251 ปีที่แล้ว

    Greatly explained... Excellent... Thank u so much

  • @tanveeraziz7416
    @tanveeraziz7416 4 ปีที่แล้ว +4

    Excellent way of teaching 👌

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  4 ปีที่แล้ว +2

      I am grateful for the kind words and encouragement

  • @atheermohamed1207
    @atheermohamed1207 4 ปีที่แล้ว +8

    Thank You so much , Jenny :)

  • @Shivam-ph3oo
    @Shivam-ph3oo 2 ปีที่แล้ว

    best explanation on TH-cam 🙏 thank you

  • @sakshamsaxena3452
    @sakshamsaxena3452 4 ปีที่แล้ว +1

    And you way of teaching is excellent

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

  • @avirajkumar3755
    @avirajkumar3755 3 ปีที่แล้ว +3

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

  • @ai.201
    @ai.201 4 ปีที่แล้ว +1

    Thanks ma'am, you made it so easy.

  • @agrawalharshvardhan3366
    @agrawalharshvardhan3366 3 ปีที่แล้ว +1

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

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

  • @GrandTotalGamer
    @GrandTotalGamer 4 ปีที่แล้ว +5

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

  • @ankurkhandelwal1375
    @ankurkhandelwal1375 4 ปีที่แล้ว +2

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

  • @mehedihasanmunnahasan9174
    @mehedihasanmunnahasan9174 หลายเดือนก่อน

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

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

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

  • @wilsonumunna
    @wilsonumunna 7 หลายเดือนก่อน

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

  • @kavyavinod8554
    @kavyavinod8554 4 ปีที่แล้ว +1

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

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

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

  • @gamingwithhemend9890
    @gamingwithhemend9890 ปีที่แล้ว +1

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

  • @beingyasir
    @beingyasir 4 ปีที่แล้ว +1

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

  • @classcure9769
    @classcure9769 4 ปีที่แล้ว +4

    Love uuh...❤❤

  • @hamzajaved1115
    @hamzajaved1115 4 ปีที่แล้ว +7

    Your Smile 😍😍😍😍

  • @bandariaravind4219
    @bandariaravind4219 ปีที่แล้ว

    The way of Explain I love it mam.

  • @rajdeepsaha2911
    @rajdeepsaha2911 ปีที่แล้ว

    Thanks for a marvelous explanation.

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

  • @aozukinn
    @aozukinn 4 ปีที่แล้ว +9

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

  • @shahzaibmeraj8777
    @shahzaibmeraj8777 7 หลายเดือนก่อน

    Highly recommended video......Very informative.......

  • @sandhya6356
    @sandhya6356 4 ปีที่แล้ว

    Thank you so much..! For this vedio. I really needed this.😊😊

  • @AdityaYadav-yy6bj
    @AdityaYadav-yy6bj 4 ปีที่แล้ว +14

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

  • @sumayyakhan2004
    @sumayyakhan2004 ปีที่แล้ว +6

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

  • @sushmaeppili
    @sushmaeppili 2 ปีที่แล้ว +2

    U cleared all my doubts mam 🙏

  • @dhruvpurwar6642
    @dhruvpurwar6642 4 ปีที่แล้ว +1

    Very good video. Got the concept easily and Crystal clear..😘😘