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
answer of homework will be : 854^2+*62^93*/-
thankuuu
Ans :854^2+*62^93*/-
same
Barabar hei bhai ek number 👌
ans 854^2+*62^93*/-
Bhai answer galat hai
@@animatedguess6884 Sahi answer he bhai, mene khud perform kiya he
854^2+*62^93/*--
Best video series on this topic !
Very well done !
It helped a lot. Thank you
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 " ( " ?
It's in another if statement, we push the left parenthesis before we compare it to the operator in the stack
In the algorithm we were to only compare operators with operators and left parenthesis with a right parenthesis
this video is pure gold, awesome knowledge and explanation
Please do a lectures on trees also
No one explained this point. its really great sir
Sir, please take a python courses your video is clear cut concept
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.
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)
when we put left parethesis on to stack ,assume that below elements of left parethsis are not there and stack is empty .
iam very lucky person because iam a subscriber of NESO ACADAMY
Thank you sir 🤗😊
Nice..
explained very well, I always found it amazing while watching this channel video. It always helps me.
I didn't understand point when they compare * with + ??? Please someone help......if * precendence is higher Than +,why we didn't pop them out ??
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.
@@turtle164 oh!!!!.....thank you priya 👍☺️
@@ynimation787 🤗no mention
Sir please make a playlist like this as for python programming ...
5:36 *>=+ but why else part.... I don't understand
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 ?
how are we going to do sinus function
thank thank you sir your are the best
hw dena ka tarika thoda casual hai🙂
Really explaination is very clear and I love it
854^2+*62^93*/-
Plz do mention the answers of asked questions.
Thanks sir greeting from Indonesia. 😃
I love Neso Academy. ❤️
Awesome channel ☺️
8*54^2+62^9/3*-
No it's 854^2+*62^93*/-
Thank you so much :)
Ans: 8542+^*62^93*/-
galat
wrong
Great work!! Many many thanks bro......!🫡