Sir aap mere liye vardaan ho...Im going through such a phase in my life where none of my teachers are helping me out.. But this 44:30 min of your video has releaved me from lots of stress... Dhire Dhire I will learn everything from here only now... Love you sir.. Would never forget you In life.. Today I literally cried in class just because computer being my fav subject seemed very hard and confusing to me.. N when I ask my teachers they put me in in more confusion.. You are devta to me sir... I bow to you with folded hands!
@comradepeter875 жыл бұрын
I can feel you bro
@yasssh78355 жыл бұрын
@@comradepeter87 didi h bhai voh
@kunalpantkp5 жыл бұрын
It happens sometimes when everything seems to be very tough and confusing. I can feel your pain. Never Stop learner because good things take time. Wishing you are bright future. Greets from Delhi.
@sandeepkumawat49824 жыл бұрын
you made me cry
@jasmeetsidhu21474 жыл бұрын
can you please help me ? ..... in code blocks pop_back function is not working .the values did not removed by using of pop_back function please help me
@zeni-ee4vl3 жыл бұрын
Sir despite all the numerous new youtube videos being uploaded these days for codiing etc, your videos from 5 years back are still the best
@codding32world503 жыл бұрын
Agree
@ImranKhan-br5dv Жыл бұрын
Right bro
@praphullkumar45943 жыл бұрын
I am seeing this video in 2021 during solving compititive programming , To solve problems clearly. I learnt mostly programming language from MySirg. Thank you sir.
@saurabhsaxena19923 жыл бұрын
Me too
@prajjwaltripathi29112 жыл бұрын
@@saurabhsaxena1992 me too
@shraddhamehta74324 жыл бұрын
sir you have detail knowledge and explanation skills are just amazing........you are saving us through your videos in year 2020
@ritikakapoor3284 жыл бұрын
And your profile photo is amazing .Me too a Harry Potter fan
@Amit.013 жыл бұрын
Also in 2021
@ebaadkhan9796 Жыл бұрын
7 year old videos using old compilers and yet still outshines any of todays tutorials/explanations. Sirrr
@kamaldakshkrishnan9990 Жыл бұрын
Old is Gold. Nothing compares to your channel.
@sakshisahu39834 жыл бұрын
Thank you so much sir for this explanation in such a simplified manner, we r really lucky to have your videos on KZbin....you made our lockdown valuable 😊
@amitkumar-gs2tr5 жыл бұрын
sir this is awesome video..i am very confused about vector but today my 95% doubt is solved...thanks sir
@vivekmesuriya63572 жыл бұрын
I am watching this video in 2૦22 and stil this is very usefull and give us lot of knowlege and also train about programming
@sumitsengupta40284 жыл бұрын
Thank you sir, completed all the 74 lectures on c++ and Data Structure& Algorithm.
@Raju_Sharma8522 жыл бұрын
Hey, Sumit it's been two years now. Sumit Could you please share your experience how all this helped you to crack interviews ? And how to prepare for campus placements ?
@sumitsengupta40282 жыл бұрын
@@Raju_Sharma852 i am from EEE , I just read it for fun...👍😇
@hitendrasingh012 жыл бұрын
I searched most of the platforms for stl but no one taught STL like our saurabh sir.
@sandipshaw81475 жыл бұрын
You are making india great again ......great job
@divyanshrawat28592 жыл бұрын
amazing video ,every concept is clear now
@yunismher66772 жыл бұрын
Great explanation.. by legend teacher..
@prajjwaltripathi29112 жыл бұрын
one of the best video on Vectors....and It will always be
@kartickchandramanna2672 жыл бұрын
Awesome Lecture 👍 Thank you sir 🙏
@srkgamejaipur8 жыл бұрын
sir, you are great, awesome way of explain vector, hats off!!
@alokkumar86427 жыл бұрын
Sir you have explained it really well .Very good and clear explanation.Thank you
@ayushisrivastava75352 жыл бұрын
Sir your way of teaching is really amazing thanks a lot ☺️
@Raju_Sharma8522 жыл бұрын
But don't you feel linked list is still better than vectors. Somehow Vector does waste memory (size-9 , cap-16). But linked list, Umm hh it creates only one block at a time which makes it memory friendly. But then why programmers adopt vectors. Still looking for a valid reason.🤔
@SavitaSharma-of5nq4 жыл бұрын
Great man!!! He makes his words understand very good
@notmrabhi12 жыл бұрын
Thanks sir for making us understand in such a detailed manner
@utkarshgautam19403 жыл бұрын
this guy is awesome ,he is god ,best online teacher soo far.
@adityagangdhar11004 жыл бұрын
This Sir is Legend and the explanation is very good.
@ArvindKumar-ov3ly3 жыл бұрын
Happy teacher's day Sir ,🙏🙏🙏
@conceptplanner81436 жыл бұрын
thanks a lot sir, your all video is very helpful for me.it gives better understanding of concept what is happening and why is happening in the program.sir i request you to please upload video on 2d vector and its application as a argument of function.
@jaidev27174 жыл бұрын
simply awesome! beautiful explanation
@saraswatirathore39333 жыл бұрын
Very grateful sir ,to give such a amazing explanation it's really helpful for me
@ritammondal4 жыл бұрын
You have solved my problem of segmentation faults... Thanks sir... Thanks a lot
@ManishKumar-zk5ky2 жыл бұрын
Great video sir 🤩😍
@mdjesan64354 жыл бұрын
Teacher of the decade 🙂
@AnkitKumar-jf4vi5 жыл бұрын
Understood the concept very well . Thank u sir
@mihirvora3914 жыл бұрын
Thank you very much❤. Very well explained all concepts.
@engineerskikaksha4 жыл бұрын
Thank u sir ji You are my favorite teacher 🙏🙏
@tanmays52233 жыл бұрын
Really amazing way of teaching sir.
@abhishekpurohit88674 жыл бұрын
Thank you very much sir.... your videos are very helpful
@AJAYSHARMA-gb6qw5 жыл бұрын
Nice explanation again sirg truly exceptional
@mukulsaini2961 Жыл бұрын
35:31 ....if we want to print elements on 9 index after clear ,they still show 100 . For example: V1.clear (): cout
@rishabhupadhyay81652 жыл бұрын
Thankyou so much sir 🙏🏻🙏🏻🌹
@RahulSharma-bj6lx8 жыл бұрын
Sir, Seriously u r doing a great job...sir will u plz provide videos abt multi threading and design pattern for c++.
@mohdmuzzammil26194 жыл бұрын
Sir, is this syntax also correct- vector v= {1,2,3}; I mean the use of assignment operator after object v.
@SLSM22084 жыл бұрын
Thanks a ton sir for this awesome lecture!! 😍
@sanskar_choudhary5 жыл бұрын
Thanks for that video, it was helpful
@programmingworld89464 жыл бұрын
Sir you tell the real meaning of teaching😇
@shubz88chd8 жыл бұрын
Sir, your videos are great !.Can you make video on commonly asked interview question in c++ ??
@SurjitSingh14-c6i4 жыл бұрын
Check mysirg channel
@HarjotSingh-rj2lf3 жыл бұрын
@@SurjitSingh14-c6i Bro same name
@SurjitSingh14-c6i3 жыл бұрын
@@HarjotSingh-rj2lf which college
@mahmudalamnau66153 жыл бұрын
kya mast samjhaate ho sir ...
@vinayaksharma-ys3ip3 жыл бұрын
Thank you so much Sir!!🙏👍💯😁🎊🎉✨
@aniketagrawal94495 жыл бұрын
Hello Sir, Thanks for such informative lecture. I really like it. I have one doubt. What will be the length and capacity of a vector at the time of declaration if we have not done any initialisation? Example : vector v1; What will be length and capacity of v1 vector here?
@rajatnagpure74455 жыл бұрын
0 capacity and 0 length
@PromLang6 жыл бұрын
what is meant by this statement "int Solution::searchInsert(vector &A, int B)".
@SammarpanDasguptaOfficial4 жыл бұрын
nice video sir....you are awesome.....
@sumanbhattacharjee75503 жыл бұрын
jabtak C/C++ will be used in competitive programming, this play list will be the best.....
@karunabiswas58765 жыл бұрын
sir, Really you are a great,Thank you very much sir
@krishanudutta29433 жыл бұрын
It was a great lecture thanks a lot sir
@priyanshugoel69804 жыл бұрын
sir u r great, pls make a video series lectue on coding interviews stl library. i hope i surely get a rely from ur side
@HiteshKumar-db4wc8 жыл бұрын
sir,please make video on set ,algorithms and iterators in STL
@ranjanrohit646 жыл бұрын
you are the best sir ji..
@pujasingh14134 жыл бұрын
You are a blessing sir... thnq so much
@ballyminati63054 жыл бұрын
sir why there is no error in your programme as you not entered return 0;
@bikramjitdas70004 жыл бұрын
Sir suppose I initialised 5 elements and 5 elements space has been created, now as per the vector feature it would get double if I have filled all the 5 spaces, now when I insert the 6th element space then the capacity is 10 now. Suppose I don't need to insert any more element, then would there be any space wastage of 4 elements or is there any way out?
@nafisfuadshad73774 жыл бұрын
you are the best.
@thecompilerbro3 жыл бұрын
Thanks for the elaborate explanation.
@sourav29388 жыл бұрын
Can we get your ppts as well? it gets very handy to use the syntax
@muhammadusman55535 жыл бұрын
your way of teaching is very professional ,, love from pakistan
@rishabhbansal60996 жыл бұрын
sir you are best keep it up
@kumarshivam80776 жыл бұрын
Than you sir for teaching us such a great knowledge
@poojachitalkar92455 жыл бұрын
Thanku dear sir gbu i love sir u r the great person in my life
@ayushbhardwaj67836 жыл бұрын
You are Awesome sir ji ;)
@jaydeeppatidar41894 жыл бұрын
sir can you plz upload videos on algorithms , iterators and some examples of STLclass plz sir ........
@SANDEEPKUMAR-zo5uc4 жыл бұрын
You are god -------Sir
@rajeshpes8 жыл бұрын
Sir, once the capacity get increased then after removing one element it is not automatically resizing . why this is not happening and it will become useful.
@rajanmaheshwari7 жыл бұрын
I agree with Peterolen. If you want to do resizing always, you can opt for list rather than vector.
@shaswatpandey29912 жыл бұрын
Guruji 🙏🙏, Aapne begining me bataya tha ki Vectors ki Default initial capacity 1(One) hoti hai, but kuch samay baad aapne bataya (during Push_back() definition )ki Default Initial value 0(zero) hoti hai? which one is true?
@parasjain94164 жыл бұрын
Dhanyawad Sir Ji
@kanchansarda41613 жыл бұрын
You are cool boss 😍
@imranwahid98714 жыл бұрын
Thank you so much sir.😊😊😊😊
@motivationalshorts4004 жыл бұрын
jab clear() ya push_back() call krke kisi element ko print krate h like cout
@mahaveerbana20313 жыл бұрын
Genius 👍
@wasimzaman24534 жыл бұрын
After increasing the size of the vector (Dynamic array) can we decrease its size again ??
@saurabhsinghpatel3090 Жыл бұрын
No
@Muhammad_Abdullah_Sultan6 жыл бұрын
Amazing lecture :)
@pujasingh14134 жыл бұрын
May god bless you...
@bestsaurabh6 жыл бұрын
You mentioned that vector changes its capacity to double whenever it is full, but how that is optimum solution compared to linked list. Imagine we have 100 items is vector and it is full , even if we need to add just one element, vector size will be 200. Don't you think that is wastage of memory?
@safwanmansuri7926 жыл бұрын
yes, but not like array it wastes more memory compared to vectors.
@Hetp1116 жыл бұрын
It is proved statistically that in the long run it is the best solution.
@govindkothari79895 жыл бұрын
we can use (vector object name).shrink_to_fit() to avoid this.(it will make the capacity equivalent to the size of the vector.
@mihirmodi19364 жыл бұрын
At 44:21 why 0 is replaced by 35 ??
@priyanshjha69524 жыл бұрын
Sir, extraordinary
@sandeepkumawat49824 жыл бұрын
thanks for explaining in details
@PundirFamilyVlog2 жыл бұрын
very good sir g 😈❤❤
@khusbookumarichoudhary75904 жыл бұрын
hello sir,wanted to know that how to delete element from somewhere between begin and end of vector.
@sayantaniguha85193 жыл бұрын
#include #include using namespace std; int main() { /* vector v1 {10,20,30}; //capacity is 3 vector v2(4); //creates 4 element wala char vector vector v3(3,'a'); //creates array of size 3 with all blocks containing 'a'. cout
@believeinpractical39303 жыл бұрын
Awesome sir
@AnandKumar-jc3nj5 жыл бұрын
How do a vector resize itself to double of its current capacity if some another things occupied memory block just after vector
@prajitbanerjee82266 жыл бұрын
wow ..you are pro sir///
@kpclasses79854 жыл бұрын
Thanks a lot sir !
@sandipsuryawanshi77593 жыл бұрын
Sir explain very good...thank u sir but video recording not clearly seen
@amarjitnayak75745 жыл бұрын
I am following your video since last 5 years..u r just helping all..ur the best best and best...one query here.. whether memory is occupied, when we pop all data..coz capacity is still 16 ? Also, if yes.. how to release all memory ? And make the capacity 0 again ..
@Ayush-nn3em4 жыл бұрын
I have the same question but i think it can be solved by using clear() function and then using shrink_to_fit() function
@rajatchauhan55017 жыл бұрын
int main() { vector v; v.push_back(10); v.push_back(10); v.push_back(10); vector:: iterator i=v.begin(); v.insert(i+3,10); return 0; } Runtime Errors: Segmentation Fault (SIGSEGV) can you help me with this please??
@pushpendra_kushvaha4 жыл бұрын
working fine no error. Use codeblock if any error
@shefalikumari74924 жыл бұрын
Sir , where is the lectures for ITERATORS and ALGORITHMS CLASS?
@shreyasrivastava77125 жыл бұрын
Thank u sir
@sejalpawar70764 жыл бұрын
Sir,can u plz explain concepts of vector of array,array of vector and vector of vector ?????
@AjayKumar-ju6sl4 жыл бұрын
Sir jiske liye maine ye video dekhi wo doubt to clear hi nhi hua Kya vector ka use karke user se value nhi le sakte hai kya
@gopesh976 жыл бұрын
sir please make a video on iterators, eagerly waiting.