You helped a lot of students achieving their goals. You deserve huge respect. Indeed.
@HandledToaster24 жыл бұрын
Why can't we get teachers like this in college lol. I'm sure you're tired of hearing but thank you so much for all your videos, you explain everything so well.
@amanmishra-vt8hk3 жыл бұрын
Because Our Teachers doesn't belongs to Google. LOL
@HandledToaster23 жыл бұрын
@@amanmishra-vt8hk I'm sorry, I don't know what you meant to say
@amanmishra-vt8hk3 жыл бұрын
@@HandledToaster2 He works at google.
@HandledToaster23 жыл бұрын
@@amanmishra-vt8hk oooh I didn't know that! Makes sense.
@hmm74583 жыл бұрын
@@HandledToaster2 this channel used to run by two individuals unfortunately one passed away in a tragic car accident (Indian roads you know) and other just stop will to continue the channel so he just go to work for google
@rajanand70479 жыл бұрын
sir i want to hug you.i watched this video and now i am certain that i will perform better in my exam
@AV-yz2cf6 жыл бұрын
xD but really. He's got the best lectures of DS with crystal clear explanations.
@miw8796 жыл бұрын
holy
@jayant91516 жыл бұрын
@NOTyoutuber no u
@rahulsharma-fk8ly5 жыл бұрын
gay.
@ashokgupta31055 жыл бұрын
Great work sir
@thecodinghustle10065 жыл бұрын
give this man an oscar!
@arvindpanchal27214 жыл бұрын
Isn't oscar is for entertainment industry he is teaching us not entertaining, doing much greater work than entertainment
@siddhartharaja94134 жыл бұрын
@@arvindpanchal2721 :-bhawnao ko samjho!☺️☺️
@danhle79994 жыл бұрын
@@arvindpanchal2721 then give him a Nobel for Education XD
@hamzaashoaib46443 жыл бұрын
Done
@mohitpandey4655 Жыл бұрын
He is not alive 😭
@bitethebyte3 жыл бұрын
You are awesome sir, You taught me the whole postfix and prefix concept in just 14 minutes including algorithm. Thank you sir
@chirag_soni_074 жыл бұрын
alright, please add one more thank you to your list. And sir i can't express what kind of respect you owe in every students heart.
@arihantjammar88885 жыл бұрын
Sir your teaching speed is as perfect as it can be.
@AbhishekPandey-yl3bp3 жыл бұрын
You gave strength to my self taught programming journey
@peterwan8162 жыл бұрын
OMG thank you so much! you explained it much better than my college teacher! Thanks for sharing this valuable information with us for free! thanks a lot!
@whacoder7252 жыл бұрын
Where u study
@Juanbaez_4 жыл бұрын
Sir, you are the best. If you thought in a University, I would totally go there.
@ajaychinni31484 жыл бұрын
Even after 7 years he has the short and best video on this topic
@HeyThereGuy4 жыл бұрын
Beautiful tutorial. Very good English. You saved me so much time.
@laxmandora84042 жыл бұрын
What a voice you got!!What an exaplanation skillsyou got!! Loved it
@biswendrajonchhen1244 жыл бұрын
This is a very crystal clear explanation. Thank you for the video sir.
@luxamateuramvs68007 жыл бұрын
dude this is the best video i've ever watched, i totally understood everything, you are really good at teaching.
@dragonore20097 жыл бұрын
You saved me again, I have exam coming up where I have to evaluate these.
@imsunilvaghela6 жыл бұрын
Hi, Your explanation skills are way greater than any of the youtuber with data-structure videos. I recommend your channel to each of my colleagues whose base seem unclear in data-structures. You have did a great job. I have one query in this lesson. How can we convert an infix expression to pre/postfix expression, which contains an unary operator in it? Please edit your video with this content or please make a separate video for this. Thanks in advance.
@sameerahmed50784 жыл бұрын
I heard he is no more, but he left such good videos, he lives with us as long as these videos help people like us.
@avinashmaurya36253 жыл бұрын
He is alive. His partner and cofounder of mycodeschool is no more. You can google for "humblefool"
@bhagyashreekakwani95082 жыл бұрын
Your videos help a lot in building the logic !! Thanks a lot!!
@gargrishab8 жыл бұрын
thank you sir for such a wonderful ds experience i am seriously obliged thanks
@dylanwatkins11585 жыл бұрын
awesome ! so clear and understanding, thank you so much! the book for computer architecture just makes no sense. your videos are getting me through this class !
@Camatio9 жыл бұрын
This was very helpful. You have my thanks, good sir.
@林霈瑄 Жыл бұрын
Best version of explanation
@rishabh88083 жыл бұрын
You are an amazing teacher. Keep up the amazing work!
@bahar220710 ай бұрын
Saved my semester. Thanks
@vijayalakshmi83374 жыл бұрын
It's a shame the world lost you so soon. I really wish you be reborn and teach us more.
@curiousenough59064 жыл бұрын
what happened?
@MohamedHossam-in1yn4 жыл бұрын
It was his friend Harsha (the co-founder of this channel) who died not him
@mahesh-ve2bp5 жыл бұрын
There is no words to say Mind blowing explanation
@mithileshpandit10715 жыл бұрын
too OP man... You are the best teacher on the planet
@AnilSingh-rg2eq8 жыл бұрын
sweet and simple...u make concepts looks so simple..Thanks a lot :)
@ryanyoung25835 жыл бұрын
This is so well done. Thank you so much for creating these videos.
@563woodcock10 жыл бұрын
A small correction in your code.... In else if(IsNumericDigit(expression[i])) don't do int operand = 0; Remove this line otherwise every time the control enters this else if statement it will assign the index of the string to 0 and start reading from the very beginning of the string.
@ankitajain41946 жыл бұрын
It will be really good if you can explain Time and space complexity too with your videos.
@kumarpriyansh42384 жыл бұрын
awesome. Very clear explanation sir.Understood it totally
@ahmedsoliman40156 жыл бұрын
Thank you! an awesomely detailed explanation, and the visualization was very informative too!
@tanishkaachaturvedi21732 жыл бұрын
best video on the internet
@theneonlotus7 жыл бұрын
great video, very clear description of pre and post fix. found it very useful
@lordstinson80954 жыл бұрын
Great video! How do we evaluate prefix/postfix expressions in case of *unary operators* ?
@dumdumbringgumgum29402 жыл бұрын
in case of prefix the operand immediately succeeding the unary operator. and in case of postfix. the operand immediately preceding the unary operator.
@buddhiniwalakuluarachchi82815 жыл бұрын
thank sir.. this is best video for post-fix which i met
@AkGautam_19043 жыл бұрын
Awesome explanation ❤️. Thank you sir 🤩🤩✨.
@mato44303 жыл бұрын
You are absolutely genius
@ManojChausali7 жыл бұрын
Program for prefix evaluation #include #include #include using namespace std; bool isOperand(char C) { if(C>='0' && C
@culturapoliticaycomputador99993 жыл бұрын
Amazing, thank you so much, for this kind of video. God bless you sir.
@amanmalhotra7249 жыл бұрын
fab u all did a fab job awesome explanations this has become one of my fav site and videos thanks and keep it up u guys
@jangandilogout86536 жыл бұрын
Big thanks sir. Very helpful for my exam 😍
@shaikgousiya21514 жыл бұрын
You are a good teacher
@thatoneuser86004 жыл бұрын
10:48 shouldn't it be 9 - 26 which would be -17? I don't understand which operand is the leader when it comes to subtraction.
@earthisadinosaur2338 Жыл бұрын
truly a godly video my dude
@moazelsawaf20005 жыл бұрын
Really thanks a lot sir
@imjustjoshying10 жыл бұрын
Nice Video but you made a mistake in the video during "prefix" notation. You popped 5 & 4 and you multiplied them even though the symbol was + addition.
@SandeepVerma142910 жыл бұрын
printing mistake dear...
@btsarmyonly57744 жыл бұрын
Good explanation sir... Thank you so muchhh
@rohananjaria10094 жыл бұрын
Code for prefix evaluation #include #include #include using namespace std; // Function to evaluate Porefix expression and return output int EvaluatePrefix(string expression); // Function to perform an operation and return output. int PerformOperation(char operation, int operand1, int operand2); // Function to verify whether a character is operator symbol or not. bool IsOperator(char C); // Function to verify whether a character is numeric digit. bool IsNumericDigit(char C); int main() { string expression; cout
@vikramsapate87033 жыл бұрын
Miss you man ............!!!!!
@PiyushYadav-hf1ec3 жыл бұрын
Great Explanation👍🏻👍🏻👍🏻👍🏻
@narmadapasumarthi91908 жыл бұрын
Really excellent explanation. Thank you very much..
@taimoorsk4 жыл бұрын
Great teacher 😍😍
@tree782548 жыл бұрын
In evaluation of prefix exp, atlast... If d operator comes, u hav two pop two elements...n here 2nd element is the 2nd operand.. So d final ans should be like -17 right???
@lagend00667 жыл бұрын
thanks a lot for so much easy method .....GOD bless you man
@Klish478 жыл бұрын
amazing..thanku sooo muchh... understood like never before
@AmrendraKumar-ko8yf7 жыл бұрын
yeah ..absolutely So, what r u doing these days . job or studying
@shivanshmathur4034 жыл бұрын
@@AmrendraKumar-ko8yf are chacha......kaahe itna...thoda sabr karo
@udz263 жыл бұрын
The prefix expression -+*23+549 is evaluating to 6, not 17... I even checked on online prefix analyzers. Correct me if I am wrong, Edit: Please ignore this, the actual expression is -+*23*549.
@manistrikes3 жыл бұрын
Well after 23 it's the multiplication operator and not '+'.
@udz263 жыл бұрын
@@manistrikes Ohh god... and I was frustrated over why my answer is not 17 🤦🤦🤦
@yogieanugrah38658 жыл бұрын
Thanks! you helped me get my homework done. :)
@amanmishra-vt8hk3 жыл бұрын
By the way answer should for the prefix be 6. If I am wrong please correct me.
@ericnelsonelem52416 жыл бұрын
Very illustrative. Thank you!
@eldadkanawa65273 жыл бұрын
Nice Explanation, Thanks a lot
@gmunni177 жыл бұрын
for the prefix example, could you not write it as: - 9 + * 5 4 * 2 3 this gives me the same final answer of 17
@MYtantrums6 жыл бұрын
on evaluation of postfix, which one did u pop first? 26 or 9, since OP1 should be 9 because it is the first one to pop and OP2 is 26 (following LIFO), please clarify
@jeetbardapurkar49126 жыл бұрын
9 was the first to pop and then 26 was popped. The way he has programmed, op2 holds the value of the element which was popped first and op1 holds the value of the element popped later. You can interchange what op1 and op2 mean when you write your own code.
@iam_a_sad_khan6 жыл бұрын
I also got confused first but look 9 pops out first as op2 and then 26 pops out as op1. Now perform the operation op1- op2 that is 26- 9. I hope that makes sense.
@DarkLordAli958 жыл бұрын
thank you so much kumar.
@ganapatibiswas58584 жыл бұрын
come back mycodeschool
@BladeAndrade7 жыл бұрын
why at the subtraction you place 26 as operand 1 instead of 9? isn't supposed to pop the topmost elements of the stack? 9 is the topmost and must pop out first then 26 so you will have 9-26, I'm confused.
@yashmehan39445 жыл бұрын
very well explained, thank you very much!
@dearvivekkumar10 жыл бұрын
Great explanation as always
@harshmairh49510 жыл бұрын
thank u for this amazing video. u r doing a great job!!
@redmood109710 жыл бұрын
Thank you very much it was very helpful .
@tigershroff80266 жыл бұрын
4:01 there is a mistake. The stack is 26 9 - at the end. It should be popped as 9 - 26 = -17 but it is popped as 26 - 9 = 17. Am I right?
@golubhai19104 жыл бұрын
getting answer 9 from your source code.
@rztutul88247 жыл бұрын
just awesome explanation ....Tnx
@vengtCent6 жыл бұрын
Great explanation!
@meenugabalachandra3256 жыл бұрын
answer may me -17 because last last stage 9,26 are in the stack so 9-26=-17
@mazlumorhan3 жыл бұрын
omg his voice doesn't annoy me at all :D Im sure it'll be great video
@mohitdaga23567 жыл бұрын
You were a genius,no wonder!
@shantanumaitra81925 жыл бұрын
Best explanation🤗🤗🤗🤗😘
@abhishekkumar-so7ww4 жыл бұрын
you have got good vocal cords
@5thbatman5 жыл бұрын
great explanation...
@bolu33075 жыл бұрын
Python implementation of postfix expression evaluation. Note: Parses single-digit numbers only. You may implement your preferred parser for input. #Stack class implementation class stack(): def __init__(self): self.headNode = None def trav(self): if(self.headNode): checkNode = self.headNode print checkNode.data while checkNode.next: next = checkNode.next print next.data checkNode = next def push(self,val): NN = Node(val) NN.next = self.headNode self.headNode = NN def pop(self): if(not self.headNode): return None CNode = self.headNode self.headNode = self.headNode.next return CNode def not_emp(self): if(self.headNode!=None): return True return False def top(self): return self.headNode #import operator module to match operator characters with Arithmetic functions import operator def postfix_eval(exp): #operator dictionary, pairing characters with arithmetic functions operators = {"+":operator.add,"-":operator.sub,"*":operator.mul,"/":operator.div} exp_stack = stack() for i in exp: #if not operator, i.e if operand, add to top of stack if(not i in operators): exp_stack.push(i) else: #if character operator, pop last two top elements in stack, be mindful of the order operand2 = int(exp_stack.pop().data) operand1 = int(exp_stack.pop().data) #call arithmetic operator with character as key in operators dictionary, and pass the last two popped elements as parameters result = operators[i](operand1,operand2) exp_stack.push(result) #when all done, return top(only) element left in stack return exp_stack.pop().data
@MegaBdboy7 жыл бұрын
What code should i write to evaluate the expression from right ?
@tune_into_gaming7 жыл бұрын
best explanation...
@shamim-io6 жыл бұрын
Thanks.. Helped me a lot!!
@nabilaaziz34469 жыл бұрын
Good job!! Great explanation. thanks :)
@whacoder7252 жыл бұрын
I have tried 3 days to solve this question but i can't why it is showing null value
@TechnoForbes8 жыл бұрын
Awesome Explanation .. Thanks a Lot :)
@niamatullahbakhshi93718 жыл бұрын
in 13:16 , it was addition(+) but you multiplied however multiplication has not reached ! why ?
@ashutoshsingh4198 жыл бұрын
thanks so much for this explanation
@himanshugupte55438 жыл бұрын
You guys are awesome!
@dragansmoljan79179 жыл бұрын
what if i want to write an expression without spaces or comas? 2+3*4-5? i get a error, i dont know why
@ankitjangid19 жыл бұрын
Sir can you please tell how to convert complex expressions into postfix, for ex :- in my book a question is given i.e A*(B+D)/E-F-(G+H/K) and (A+ B ^ D)/(E-F)+G (^ IS NOT POWER). Please help!!
@jameslussier314310 жыл бұрын
this was very helpful, thanks a lot
@sunandareddy51266 жыл бұрын
Evaluate the following prefix expression " ++ 26 + - 1324" sir can u plz explain
@aliesapour794 жыл бұрын
Thank you so much for your video
@tomlynd88368 жыл бұрын
Awesome explanation, thanks!
@mairaabid45388 жыл бұрын
if statement is that ( a=b=x=y=0) so what we do in postfix and prefix?