Application of Stacks (Infix to Postfix) - Part 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Data Structures: Application of Stacks (Infix to Postfix) - Part 4
    Topics discussed:
    1) Algorithm for converting the Infix expression to its equivalent Postfix expression.
    Data Structures: bit.ly/3hjudFV
    C Programming: goo.gl/7Eh2SS
    Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
    Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
    Contribute: www.nesoacadem...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacadem...
    Website ► www.nesoacadem...
    Forum ► forum.nesoacad...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #DataStructuresByNeso #DataStructures #Stacks #ApplicationOfStacks

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

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

    answer of homework will be : 854^2+*62^93*/-

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

    Ans :854^2+*62^93*/-

  • @vipullahepatil5529
    @vipullahepatil5529 ปีที่แล้ว +24

    ans 854^2+*62^93*/-

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

    Best video series on this topic !
    Very well done !

  • @abrahammulualem7803
    @abrahammulualem7803 9 วันที่ผ่านมา +1

    It helped a lot. Thank you

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

    9:36 If we assume the left parenthesis to have the least precedence then shouldn't we have popped out the "+" in the stack before pushing " ( " ?

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

      It's in another if statement, we push the left parenthesis before we compare it to the operator in the stack

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

      In the algorithm we were to only compare operators with operators and left parenthesis with a right parenthesis

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

    this video is pure gold, awesome knowledge and explanation

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

    Please do a lectures on trees also

  • @sravanisravanam1054
    @sravanisravanam1054 5 หลายเดือนก่อน +1

    No one explained this point. its really great sir

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

    Sir, please take a python courses your video is clear cut concept

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

    If left parenthesis has the least precedence, why wasn't - compared to the + operator in the stack, rather it was ignored. @9:36? I need a clear cut explanation on this please.

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

      It is one of the rules that if the symbol is a left parenthesis, just put it on the stack.
      So the left parenthesis is the only symbol that is not compared. Once you see it, just put it on the stack.
      (And anything under it in the stack is not touched)

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

      when we put left parethesis on to stack ,assume that below elements of left parethsis are not there and stack is empty .

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

    iam very lucky person because iam a subscriber of NESO ACADAMY

  • @tinA-cn1on
    @tinA-cn1on 2 ปีที่แล้ว +3

    Thank you sir 🤗😊

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

    Nice..

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

    explained very well, I always found it amazing while watching this channel video. It always helps me.

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

    I didn't understand point when they compare * with + ??? Please someone help......if * precendence is higher Than +,why we didn't pop them out ??

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

      NO , the operator present in the stack should have greater precendence than the current operator, so * is the current operator and has high precedence than + operator in the stack, which doesn't satisfy the 4th condition of algorithm. So, the * operator will also be moved to stack. I hope your doubt is cleared now.

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

      @@turtle164 oh!!!!.....thank you priya 👍☺️

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

      @@ynimation787 🤗no mention

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

    Sir please make a playlist like this as for python programming ...

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

    5:36 *>=+ but why else part.... I don't understand

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

    Nice video, however i have a question, for the condition of the operators, could i say if the precedence of the current operator is greater than the precedence of the operator at top of the stack ?

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

    how are we going to do sinus function

  • @LiPuN-ul2oc
    @LiPuN-ul2oc 2 หลายเดือนก่อน

    thank thank you sir your are the best

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

    hw dena ka tarika thoda casual hai🙂

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

    Really explaination is very clear and I love it

  • @RajuRaju-kh8ke
    @RajuRaju-kh8ke 6 หลายเดือนก่อน

    854^2+*62^93*/-

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

    Plz do mention the answers of asked questions.

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

    Thanks sir greeting from Indonesia. 😃

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

    I love Neso Academy. ❤️

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

    Awesome channel ☺️

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

    8*54^2+62^9/3*-

    • @Shanmukh007-v3p
      @Shanmukh007-v3p 7 หลายเดือนก่อน

      No it's 854^2+*62^93*/-

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

    Thank you so much :)

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

    Ans: 8542+^*62^93*/-

  • @md.abdullahhimel
    @md.abdullahhimel ปีที่แล้ว +1

    Great work!! Many many thanks bro......!🫡