No video

Infix to Prefix conversion using Stacks Data Structure

  Рет қаралды 293,209

ComputerAdx

ComputerAdx

Күн бұрын

infix to prefix conversion - possible solutions -- • Infix to Prefix conver...

Пікірлер: 401
@itkasrocks7230
@itkasrocks7230 2 жыл бұрын
No, in prefix the same precedence operator can stay together which is not possible in postfix conversion. The prefix will be +-*+ABCDF.
@ROYAL-THUNDER
@ROYAL-THUNDER Жыл бұрын
thanks for helping me not to watch this video.
@adarshjaiswal6457
@adarshjaiswal6457 Жыл бұрын
you are saying correct ..
@sarangsankhe5739
@sarangsankhe5739 Жыл бұрын
Thanks man, i was scared
@muhammedaknc179
@muhammedaknc179 Жыл бұрын
Everyone thinks they can make videos with half knowledge. However, she does not have enough knowledge to realize that what she said about the subject is wrong. LOL :)
@Aaridesigns_shorts
@Aaridesigns_shorts Жыл бұрын
Check the examples from left to right and use the associative rule according to the associative rule the first operator that we have push into the stack they pop out and then new operator will be push.
@ayushmaurya943
@ayushmaurya943 2 жыл бұрын
Thanks for making this concept very easy It helped me a lot in my tomorrow's exam😃
@xaviball2911
@xaviball2911 2 жыл бұрын
the concept which is explained here and some others channel like jennys are different for infix to prefix conversion
@salaheddinekharchi85
@salaheddinekharchi85 3 жыл бұрын
The same idea of the conversion of infix into postfix, the only difference is the reversing of the expression at the beginning and at the end .. thank you
@omarhasan1602
@omarhasan1602 2 жыл бұрын
Yeah
@suhaibkhan4956
@suhaibkhan4956 11 ай бұрын
wrong result (A+B)-c/d+e according to your rule output is-*ab+/cde+ but true result is+-*ab/cde, same precedence operator can stay unlike in post fix it doesn't stays
@love_piano_3000
@love_piano_3000 9 ай бұрын
Thank you sooo much, you are the ones, who help people like me one day before exam
@pjacharya
@pjacharya Ай бұрын
Nuhh 2 hours before exam 😅
@joelmarkjmj
@joelmarkjmj 2 жыл бұрын
THANK YOU MAM YOU AWARDED ME 12 MARKS IN MY EXAM
@computeradx8825
@computeradx8825 2 жыл бұрын
Wow 🙏 m so glad to read that 👍🏻
@MrKristian252
@MrKristian252 Жыл бұрын
Awesome! Learned this in 8 minutes, instead of our teacher explaining for 40 minutes
@Kishan_Narrator
@Kishan_Narrator Жыл бұрын
i did it in 4 minutes
@sankhadip_roy
@sankhadip_roy Жыл бұрын
@@Kishan_Narratorawesome you are selected in google 😂
@shaikzaveriya9764
@shaikzaveriya9764 2 жыл бұрын
Thank you mam 🥳🥳 it would help me for my 2mrw's exam 🥳🥳
@computeradx8825
@computeradx8825 2 жыл бұрын
I pray so... Best of luck 👍🏻
@shaikzaveriya9764
@shaikzaveriya9764 2 жыл бұрын
@@computeradx8825 tnq🥳🥳
@gullajaswanth2566
@gullajaswanth2566 2 жыл бұрын
Where are you from
@ramyakunal4958
@ramyakunal4958 Жыл бұрын
Now, i came to know the infix to prefix conversion.. in an easiest way.. Thank you
@kaustavsaha6900
@kaustavsaha6900 3 жыл бұрын
Too helpful ma'am❤️, tomorrow is my xm. And your voice is so sweet 😊
@computeradx8825
@computeradx8825 3 жыл бұрын
All the best for ur xm 👍
@bhartiyasanatandharam8798
@bhartiyasanatandharam8798 3 жыл бұрын
Your English and teaching pattern is excellent, sister
@computeradx8825
@computeradx8825 3 жыл бұрын
Thank you :)
@dinmohammad8156
@dinmohammad8156 2 жыл бұрын
Haha. So awesome. Brings back the fond memories when you explained this to me in person. Really awesome.
@lee_land_y69
@lee_land_y69 Жыл бұрын
Tried example ((A+B)/C*(D+E)-F). gave me -/+AB*C+DEF
@PRAVEENKUMAR-cs5tx
@PRAVEENKUMAR-cs5tx Жыл бұрын
if operators have same precedence then we will check associativity and here is left associative so we can simply push operator in stack
4 жыл бұрын
Thank you Mam. Me is now know this topic very very good.
@computeradx8825
@computeradx8825 4 жыл бұрын
Awesome 👍
@shriyansh_agarwal
@shriyansh_agarwal 3 жыл бұрын
I am really glad to learn more from you
@computeradx8825
@computeradx8825 3 жыл бұрын
Its good to know that the video is of help to you :)
@sujalstark580
@sujalstark580 11 ай бұрын
Through out understanding this method I have noticed something sweet thing is encouraging too much !!! To listen and understand this .... Well ureka :) I have found out it's your voice which helped me to reciprocate with this topic thank you so much
@ecoloudhigh5176
@ecoloudhigh5176 3 жыл бұрын
Mam it's too good and easy.
@computeradx8825
@computeradx8825 3 жыл бұрын
Thanks 🙂
@nmohammedkaif11
@nmohammedkaif11 Жыл бұрын
I'm the 1000th subscriber and
@sayonislam7222
@sayonislam7222 3 жыл бұрын
Explained very well 💯
@computeradx8825
@computeradx8825 3 жыл бұрын
Thank you :)
@usmanweb
@usmanweb 3 жыл бұрын
excellent way of teaching
@computeradx8825
@computeradx8825 3 жыл бұрын
Thank you.
@PR_Pavan
@PR_Pavan 10 ай бұрын
Thanks ❤
@turamdar1392
@turamdar1392 4 жыл бұрын
Easiest way to convert infinix expressions into prefix... ❤
@ashishchauhan4031
@ashishchauhan4031 3 жыл бұрын
Bcz she took a easy question lol..😂
@computeradx8825
@computeradx8825 3 жыл бұрын
Bcz she took an* easy question...
@ashishchauhan4031
@ashishchauhan4031 3 жыл бұрын
@@computeradx8825 🤩 me to chk rha tha .... U are passed....muje to cmnt bdane se mtlb h..😌😬
@bmdlibya924
@bmdlibya924 2 жыл бұрын
thanks so much u made me happy find out it was that simple i was literally hopeless thank u
@shaiksanamehaboobbi9791
@shaiksanamehaboobbi9791 2 жыл бұрын
I've watched this video now and I'm very happy coz it would be very helpful to me for tomorrow's exam Thanks to you 😄
@shaikzaveriya9764
@shaikzaveriya9764 2 жыл бұрын
I suggested u 2 see this 😒😒 tnq to me also 😁😅
@shaiksanamehaboobbi9791
@shaiksanamehaboobbi9791 2 жыл бұрын
😏
@shaikzaveriya9764
@shaikzaveriya9764 2 жыл бұрын
@@shaiksanamehaboobbi9791 😎 first thank me.....jaldi bol bol
@shaiksanamehaboobbi9791
@shaiksanamehaboobbi9791 2 жыл бұрын
Ok fine Thank you dear @Shaik Zaveriya
@shaikzaveriya9764
@shaikzaveriya9764 2 жыл бұрын
@@shaiksanamehaboobbi9791 it's ok .. first go and prepare 😑😑
@a_.t_s_1021
@a_.t_s_1021 2 жыл бұрын
Very sweet voice ,beautiful way to make understand by easiest method
@moaviahassan721
@moaviahassan721 2 жыл бұрын
3:54 that OK gee🔥🔥🔥
@AngryGamer-RC_Maniac
@AngryGamer-RC_Maniac 3 жыл бұрын
Wrong solution dear. From infix to postfix have to pop all the operators from the stack which are greater than or equal to in precedence than that of the scanned operator. But here, we have to pop all the operators from the stack which are ONLY greater in precedence than that of the scanned operator. Only in the case of “^” operator, we pop operators from the stack which are greater than or equal to in precedence. So, in this case, your mistake is at the reading of '-' operator. You should just push '-' operator to the stack after '+' operator and don't pop the '+' operator form the stack. In conclusion the correct result is: + - * + a b c d f.
@computeradx8825
@computeradx8825 3 жыл бұрын
We follow PDMAS rule for operator precedence. + is having higher or greater precedence than -, so + will be poped out in order to insert - in the stack.
@AngryGamer-RC_Maniac
@AngryGamer-RC_Maniac 3 жыл бұрын
@@computeradx8825 I am sorry dear, but I already explained you why this is wrong.
@computeradx8825
@computeradx8825 3 жыл бұрын
I like your confidence but the thing is I have given u the explanation of what u think is mistake; which actually is not 😏
@Sanjeevkumar-ce1if
@Sanjeevkumar-ce1if 3 жыл бұрын
@angrygamer I think your conclusion is right 👍
@AngryGamer-RC_Maniac
@AngryGamer-RC_Maniac 3 жыл бұрын
@@Sanjeevkumar-ce1if Thank you. Even logically if someone with common sense sees it, undersrands that -*+ABC+DF is wrong. Prefix means all operators BEFORE operands.
@harshsainigr
@harshsainigr 3 жыл бұрын
Badiya ji acha samj m Aaya hamare thanku so much
@computeradx8825
@computeradx8825 3 жыл бұрын
Welcome :)
@rahulpoddar7732
@rahulpoddar7732 Жыл бұрын
I have watched this vdo and it is great ! Thanks for the vdo ...👍🙂
@mrnaseeb9220
@mrnaseeb9220 Жыл бұрын
Good work we are with you make more videos we will support you We are Pakistani🇵🇰❤️
@arihantjain2646
@arihantjain2646 Жыл бұрын
Beautifully taught ma'am... ty
@prathameshkhorate251
@prathameshkhorate251 Жыл бұрын
Thank you ji
@RISHABH-VERMA
@RISHABH-VERMA Жыл бұрын
Support from India ❤
@secretofallthings6962
@secretofallthings6962 Жыл бұрын
thank you so much for this video
@alisheheryar6306
@alisheheryar6306 7 ай бұрын
This video reminds me of 1st year in university studying BSSE, that was a lot of struggle
@auroralshine6176
@auroralshine6176 9 ай бұрын
Thank you ma'am, this was really helpful.
@rushikmemes5759
@rushikmemes5759 Жыл бұрын
thnx for this video your video is very usefull for me
@rushikmemes5759
@rushikmemes5759 Жыл бұрын
Please show your face on video
@shubh_edits865
@shubh_edits865 3 жыл бұрын
Easy very valuable 🙏
@computeradx8825
@computeradx8825 3 жыл бұрын
:)
@sandeshadhikari4785
@sandeshadhikari4785 2 жыл бұрын
thanks from Nepal
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@arnabpramanik5703
@arnabpramanik5703 Жыл бұрын
its become very🙂 much easy for me to understand
@mohdabdulrahmankhan9668
@mohdabdulrahmankhan9668 Жыл бұрын
That "Okayy Jii "😂😂
@dinmohammadqazi9041
@dinmohammadqazi9041 4 жыл бұрын
This is such a simplified method of converting infix to prefix notation. Brilliantly explained mam.
@computeradx8825
@computeradx8825 4 жыл бұрын
Thank you :)
@buiucthanh4626
@buiucthanh4626 2 жыл бұрын
thank you. It's so easy to understand
@raselmiah3410
@raselmiah3410 Жыл бұрын
Thanks a lot teacher ❤️
@harshvardhansingh8928
@harshvardhansingh8928 Жыл бұрын
i loved your video 😍😍😍😍😍😍😍
@csebhai7231
@csebhai7231 2 жыл бұрын
I am big fan
@csebhai7231
@csebhai7231 2 жыл бұрын
Give me number because I have many dout
@saikrishna_patel_0768
@saikrishna_patel_0768 Жыл бұрын
This is wrong process in prefix the same presedence operater should not pop it in output . . The correct answer is +-*+ABCDF 🔥
@adityaSingh-wk9jk
@adityaSingh-wk9jk Жыл бұрын
"Okay ji "🥰 adorable
@HiddenBoy-hp1ly
@HiddenBoy-hp1ly Жыл бұрын
" Okay ji " sounded Good :)
@sanjeevmaharjan9795
@sanjeevmaharjan9795 3 жыл бұрын
Great explaination thank you so much
@computeradx8825
@computeradx8825 3 жыл бұрын
Welcome :)
@GAMINGJERRY1
@GAMINGJERRY1 2 жыл бұрын
Thanku mam it’s really very helpful for me 🙏🙏🙏🙏❤️‍🔥
@moeenulislam4189
@moeenulislam4189 2 жыл бұрын
Clear and Crisp!
@computeradx8825
@computeradx8825 2 жыл бұрын
Thanks :)
@ayushs7766
@ayushs7766 2 жыл бұрын
You have a very good voice !!!!!
@Faltu_Bakchodi
@Faltu_Bakchodi 3 жыл бұрын
Recently watched your video
@bhoomikasaxena1789
@bhoomikasaxena1789 8 ай бұрын
well explained 😇😇
@RAUNAKMAHAPATRA
@RAUNAKMAHAPATRA 3 жыл бұрын
Thanks a lot MAM
@mahendrasaini4481
@mahendrasaini4481 Жыл бұрын
Thank you so much mam 😊
@shubhamverma865
@shubhamverma865 3 жыл бұрын
Really helpful 🙏 thanks ma'am
@computeradx8825
@computeradx8825 3 жыл бұрын
Welcome :)
@vijayvirat562
@vijayvirat562 2 жыл бұрын
Thanks you made it easier to understand 😇
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@poojithaypooja2112
@poojithaypooja2112 Жыл бұрын
Tq mam🙏
@_pralhadbehera6341
@_pralhadbehera6341 Жыл бұрын
Mam actually the ans is +-*+ABCDF I have checked my self and even online converter also 😔😔
@priyanshudkpatrewal4684
@priyanshudkpatrewal4684 3 жыл бұрын
Great...! It becomes quite easy for me to understand it...👏🏻
@suryashrees5233
@suryashrees5233 2 жыл бұрын
Wonderfull Explanation mam.Thank you
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@fightforflight6141
@fightforflight6141 2 жыл бұрын
Thnx
@magulurivenky6946
@magulurivenky6946 Жыл бұрын
thank u mam it's so helpful for us
@suhailahmed505
@suhailahmed505 3 жыл бұрын
Ok ji! It's helpful ❤️🔥
@pragyanshutiwari5904
@pragyanshutiwari5904 9 ай бұрын
Totally wrong🙂 it's prefix conversion and operators stays together when having same precedence and L to R associativity. Answer will be +-*+ABCDF.
@usamamehmood4463
@usamamehmood4463 4 ай бұрын
There is a mistake. You can't pop the operator if precedence is lower as you reversed the order in the starting.
@sivansd_t4752
@sivansd_t4752 3 жыл бұрын
Without using stack i got +-*+abcdf ??? Both are not same ,why?
@computeradx8825
@computeradx8825 3 жыл бұрын
We can get more than 1 correct solutions. However using stacks will always result in the single solution. All the possible solutions can be determined by using expression trees.
@ashishchauhan4031
@ashishchauhan4031 3 жыл бұрын
Bro if u will put number instead of alphabet .. then u will get the desired answer from both of the expression.... Ssb expression tree ka lafda h guru..
@jatingupta9377
@jatingupta9377 2 жыл бұрын
awesome voice with awesome explanation
@computeradx8825
@computeradx8825 2 жыл бұрын
Thanks :)
@jatingupta9377
@jatingupta9377 2 жыл бұрын
@@computeradx8825 are you pursuing M.tech?
@computeradx8825
@computeradx8825 2 жыл бұрын
M lecturer in academic industry
@jatingupta9377
@jatingupta9377 2 жыл бұрын
@@computeradx8825 ohh nice..
@AshwithReddy-rd2tc
@AshwithReddy-rd2tc 3 жыл бұрын
explanation is really good
@computeradx8825
@computeradx8825 3 жыл бұрын
Thanks 🙂
@darishawanlangpariong7699
@darishawanlangpariong7699 2 жыл бұрын
Thankyou mam... Its help me alot
@computeradx8825
@computeradx8825 2 жыл бұрын
Glad to read 😃
@APToons
@APToons 3 жыл бұрын
Lovely!
@easy2code
@easy2code Жыл бұрын
Thanks.....
@HarmanNarula
@HarmanNarula Жыл бұрын
Thankx a lot
@haswadhsai618
@haswadhsai618 3 жыл бұрын
Mam, when I changed your given expression infix to prefix , I got some expression , but that one was not matched to your answer. I got : + - * + A B C D F Your answer:- * + A B C + D F
@computeradx8825
@computeradx8825 3 жыл бұрын
There can be multiple solutions for a single expression. U can find all possible answers using expression tress. By using Stacks, u will always get the same answer if same rules are followed. 🙂
@haswadhsai618
@haswadhsai618 3 жыл бұрын
@@computeradx8825 tq mam🤝
@computeradx8825
@computeradx8825 3 жыл бұрын
My pleasure 🙂
@facti8198
@facti8198 11 ай бұрын
Tq mam it help a lot❤🎉
@amandhol2313
@amandhol2313 2 жыл бұрын
awesome explannation!
@prathamesh0195
@prathamesh0195 Жыл бұрын
Excellent ☺️ mam I
@Noobgaming-hy9yh
@Noobgaming-hy9yh 2 жыл бұрын
Doing great job 👌👌 Thanku mam 👻👻
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@aryanmalhotra9143
@aryanmalhotra9143 2 жыл бұрын
excellent explanation!!!
@chauhan0723
@chauhan0723 Жыл бұрын
ye galat exmple hai
@govindkumarsingh140
@govindkumarsingh140 Жыл бұрын
BASICALLY REVERSE KAR KE POSTFIX NIKALO AUR USKO REVERSE KAR DO.
@iamjohnwick5192
@iamjohnwick5192 Жыл бұрын
Thank you
@ashishchauhan4031
@ashishchauhan4031 3 жыл бұрын
I like the controversies in the comments section...💫💫
@kinnerakishan5022
@kinnerakishan5022 2 жыл бұрын
Mam nice explanation
@i58yashbagad12
@i58yashbagad12 Жыл бұрын
Infix pre post (fix) are so boring but anyways thanks for great work
@user-lc5cv5db8e
@user-lc5cv5db8e Жыл бұрын
Thank you mam
@haisumali3729
@haisumali3729 Жыл бұрын
thank you
@savagegod7620
@savagegod7620 2 жыл бұрын
Thanks 😊
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome 🙂
@SpectronLight
@SpectronLight Жыл бұрын
The brackets will also get reversed and if you know that ur concept is not clear then kindly remove this video as it will provide misconception , make a new video with clear rules.
@yidakanka
@yidakanka 2 жыл бұрын
Thanks ma'am 🙌
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@manikishannayak3202
@manikishannayak3202 Жыл бұрын
Thank you ❤️ Madam 😊
@abdullahhabib5390
@abdullahhabib5390 4 күн бұрын
GOOD
@prateeknagar147
@prateeknagar147 3 жыл бұрын
Nicely explained
@ramankr0022
@ramankr0022 Жыл бұрын
very helpful.
@tasniahoque4937
@tasniahoque4937 2 жыл бұрын
Thanks ma'am
@computeradx8825
@computeradx8825 2 жыл бұрын
Welcome :)
@raysash4300
@raysash4300 2 жыл бұрын
Thank you!
@samliger9058
@samliger9058 7 ай бұрын
What if two operators of addition ++ which have the same priority comes together. Can they stay together or no
@codmw7040
@codmw7040 2 жыл бұрын
Nice
Expression Trees
17:47
ComputerAdx
Рет қаралды 18 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 74 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 17 МЛН
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 28 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 51 МЛН
3.8 Infix to Prefix using Stack | Data Structures Tutorials
24:05
Jenny's Lectures CS IT
Рет қаралды 902 М.
Evaluation of Prefix and Postfix expressions using stack
14:10
mycodeschool
Рет қаралды 629 М.
Infix to Postfix conversion using Stacks Data Structures
9:32
ComputerAdx
Рет қаралды 22 М.
Data Structures | Infix to Prefix Conversion
8:13
Ace Knowledge
Рет қаралды 104 М.
Application of Stacks (Infix to Postfix) - Part 1
10:33
Neso Academy
Рет қаралды 146 М.
Infix, Prefix and Postfix Expressions
26:54
CodeWithHarry
Рет қаралды 548 М.
3. Infix to Postfix Conversion The Easy Way
5:44
Yaar Padha De
Рет қаралды 1,4 МЛН
Infix, Prefix and Postfix
13:38
mycodeschool
Рет қаралды 919 М.
CONVERTING INFIX EXPRESSION INTO POSTFIX EXPRESSION A+(B*C-(D/E^F)*G)*H
12:46
nagendra tech official
Рет қаралды 21 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 74 МЛН