Video Summary: 1. Avoid global variables 2. Don't alter given data 3. Modularize code using oops 4. Get clarity about problem asked 5. Use relevant function, variable name & edge-cases
Really informative video, I have taken course from coding blocks and they write code according to these points, earlier I use to think why they are wasting time like this but now I understand it, thanks a lot, keep posting these amazing stuff.
Hi Striver, As you discussed about the case of not altering the data if a approach available for without altering input data , but if there is a case where altering the data takes O(n) time complexity and space as O(1) and without alteration method takes O(1) time complexity and space as O(n), which one should we prioritize first ?? Better Time complexity or better space complexity ??
The space optimisation was due to you altering data and not using an external ds. So you are not saving space instead you using the space given to you. Hence I said.
And when i thought ki ab mko pata h ki interviewer ko kaise ds algo k questions answer krne h...you uploaded this video😂😂... thanks a lot...all the 5 points were really informative 💡 specially the one about global variables, btw why global declaration of variable is a bad practice ?
Ye toh ab pakka hogaya ki naye setup room mein deewal yellow colour ka nhi rhega aap se jada focus deewal pe ja rha hai baki green screen toh sambhal hi lega😂
Striver bhaiya ek video How to handle edge and corner cases pe banao Pleassssssssse!!! I mean how to think about these cases and get accepted in first attempt
My cgpa is 7.3 upto 5th semester but couldnot fulfill the minimum criteria for faang jon especially for microsoft me . please tell me what to do could i improve it
2 sum problem : Approach 1: Sort the array and run 2 pointers. Since you sorted the array the order of elements in the original array is changed .So data was modified. Approach 2: Use a hash map. Iterate over the array and search its complement in hashmap. If found , you got your pair else store the element in map. In this approach the order of elements in the original array is preserved . So data is not modified.
Hey striver. Dp qns are commonly asked in interviews. And in top down, dp array is initialized globally. Itna to acceptable hai na ? (else pass dp array as paramter)
Hi sir I'm currently pursuing my btech from a tier 3 college I have a year gap between my btech and 12th will this effect my placement please sir reply. I have took the gap to prepare for jee mains I couldn't make it but i have got knowledge.sir please reply 🙏
Bro Can u pls tell the podcast videos in English so that everyone can understand , (Example -South Indians don't know hindhi so that they can't understand what u r telling that why I am giving suggestion - If it's possible pls try to tell in English as well as hindhi I am from AP .
bhai kisi normal jagah beth ke video bnao.....avoid this background and have proper lighting.....trust me mein ni chahta itna acha content sirf video quality ki wjah se khrb lage.
Nah, I get around 10-12 brands per month, but I promote the ones which I feel are relevant.. I personally like the concept of relevel :) The amount is almost negligible tbh. P.S: Promotions will always be a part of youtube. Anyways it should be okay as long as you getting it all in free :)
Insta pe follow kar sakte ho: Striver_79
.
Comments me bataye aap aur konse mistakes karte ho usually, inme se ek kabhi kia h ?
Thankss!
Video Summary:
1. Avoid global variables
2. Don't alter given data
3. Modularize code using oops
4. Get clarity about problem asked
5. Use relevant function, variable name & edge-cases
finally got summary 😂
Use camelCase while declaring variables and mehod name.
Really informative video, I have taken course from coding blocks and they write code according to these points, earlier I use to think why they are wasting time like this but now I understand it, thanks a lot, keep posting these amazing stuff.
Matlab vo Log full function pe or class pe jor dake sikhate he vro
@@alpeshamriwala1740 haaa bhai
❌Aastik
❌Nastik
✅Sarcastic
😅
lol...i was searching for this comment XD
Hi Striver,
As you discussed about the case of not altering the data if a approach available for without altering input data , but if there is a case where altering the data takes O(n) time complexity and space as O(1) and without alteration method takes O(1) time complexity and space as O(n), which one should we prioritize first ?? Better Time complexity or better space complexity ??
The space optimisation was due to you altering data and not using an external ds. So you are not saving space instead you using the space given to you. Hence I said.
@@striver_79 Ok, got it , thanks
One of the best don'ts video on DSA interview 😎
And when i thought ki ab mko pata h ki interviewer ko kaise ds algo k questions answer krne h...you uploaded this video😂😂... thanks a lot...all the 5 points were really informative 💡 specially the one about global variables, btw why global declaration of variable is a bad practice ?
They can be altered by any function in the code which is not considered good
thanks a lot🌝
Hi Striver, as you suggested that we shouldn't modify the input data. Does that mean that we should avoid solutions that involve sorting?
If there exists a similar complexity solution without modifying, go for that, this is what I meant ..
@@striver_79 got it, thanks.
Blue Screen. ❌
Green Screen❌
Yellow Screen yes
Ye toh ab pakka hogaya ki naye setup room mein deewal yellow colour ka nhi rhega aap se jada focus deewal pe ja rha hai baki green screen toh sambhal hi lega😂
Kya Baat Striver Bhai ke le thoko Taali..
Got it bhaiya!
Thanks Striver, It was very helpful!
Thanks for the tips ,it was very helpful.👍
Can we name a subfunction as help()?
How to know that the solution proposed by me is optimal?
How to think of edge cases for different problems?
what's written on rest of the t-shirt? btw very informative video.
PS : got it from comments.
Aastik
Nastik
????
last wala kya tha bhaiya bta do warna raat ko nind ni aaega xD??
Sarcastic
🖤🖤 thanx bro means a lot
Thanks for the tips @Striver
Are templates can be used in the coding round and in technical interviews that are used for cp contests?
Noh
@@striver_79 what a fast reply 👀
@@striver_79 if no then how can we solve problems which requires stack, queue and also priority,
And even vectors?? 😳😳
Aptitude ke baare me ek video bnao bhai
Bhaiya what if the other solution which doesn't modify the input uses more space? Which one to use?
The other one, if you are saving space just by using the given array, its not a good solution.. you can use an extra map or something..
@@striver_79 ok thanks bhaiya. Great video!
Thanks for the info 🙏🙏
Striver bhaiya ek video How to handle edge and corner cases pe banao Pleassssssssse!!!
I mean how to think about these cases and get accepted in first attempt
Thanks for sharing the tips.
Thank you bhaiya
Want more such videos🙏
My cgpa is 7.3 upto 5th semester but couldnot fulfill the minimum criteria for faang jon especially for microsoft me . please tell me what to do could i improve it
What is the cut-off for microsoft?
@@gounishivakishorreddy780 7.5
No problem your gender will save you
@@rahuljoshi5952 Abe bhai kya bol raha 😂😂
@@nikhilnagrale jiska koi nhi hota uska ,Microsoft engage, amazewow, Adobe, Goldman, Jpmc hota hai
T-shirt pe third cheej ky hai ? 😂
sarcastic ..
Mujhe lag hi rha tha sarcastic hoga😅
Mene puri video me yahi dhyan rakh raha tha sayad kuch dikh jaye 😆😆
@@kuldipmochi 😂😂
9:23 Can you tell more about what categories the interviewer has?
Much needed video.🙏🙏🙏
Thanks Bhaiya.
Thanks for the video
Can you make an internship calender?
Could anyone please give some example of modifing the data while solving the problem ?
2 sum problem :
Approach 1: Sort the array and run 2 pointers. Since you sorted the array the order of elements in the original array is changed .So data was modified.
Approach 2: Use a hash map. Iterate over the array and search its complement in hashmap. If found , you got your pair else store the element in map.
In this approach the order of elements in the original array is preserved . So data is not modified.
@@ankitdas7532 But that's kinda unfair
Hey striver.
Dp qns are commonly asked in interviews.
And in top down, dp array is initialized globally.
Itna to acceptable hai na ? (else pass dp array as paramter)
Main pe dp initialisation kr k pass parameters
@@striver_79 Thanks for reply
What is the third checkbox in the tee?😂
I like your "hai ki nahi" by the way great content as usual ❤️
Really helpful 👍
BHAIYA APKI VIDEO DEKH KE LAGTA HAI INTERVIEW CRACK KRNA NOT A BIG DEAL BS, YOU JUST NEED RIGHT GUIDANCE AND CONSISTENT PROGRESS.
bhaiya Nastik e neeche kya tha??
Sarcastic
Bro use soft light for video shooting
thanks
Hi sir I'm currently pursuing my btech from a tier 3 college I have a year gap between my btech and 12th will this effect my placement please sir reply. I have took the gap to prepare for jee mains I couldn't make it but i have got knowledge.sir please reply 🙏
No even striver has one yr gap 😄
🤣
@@ritikranjan5268 what seriously ?
Aastik Nastik and last me kya he?
Sarcastic
😂
Bro
Can u pls tell the podcast videos in English so that everyone can understand , (Example -South Indians don't know hindhi so that they can't understand what u r telling that why I am giving suggestion - If it's possible pls try to tell in English as well as hindhi
I am from AP .
then south bastards should not watch this video tell your creators to create videos in your langugae dont piss here bsdk
Or me sirf code accept hojaye yr vohi bhut he baad me approach dekh lunga baakio ke
Thanks bhaiya❤️ how much development is needed for interview or placement?
Golden Rules✨
Just woww
helpful
shirt par kya likha tha
Astik nastik sarcastic
Can some one explain what is edge case in DSA problems?
Bhai cp course kb aarah h
Ye test case kya hota he
Bhaiya kya hum stl use kar sakte hei interview mey??
No
Bhahiya dp continue karo na
T shirt 👍
bhai kisi normal jagah beth ke video bnao.....avoid this background and have proper lighting.....trust me mein ni chahta itna acha content sirf video quality ki wjah se khrb lage.
Light kam lg rha h kya :o
@@striver_79 kam??.....meko sunglasses laane pde iske lie!
Almost strivers every video is sponsored....🤑🤑🤑🤑
🤭🤭 all because of your support..
@@takeUforward 🤭🤭 all bcoz of your content
this channel is mostly for relevel promotion lol
Nah, I get around 10-12 brands per month, but I promote the ones which I feel are relevant.. I personally like the concept of relevel :) The amount is almost negligible tbh.
P.S: Promotions will always be a part of youtube. Anyways it should be okay as long as you getting it all in free :)
@@striver_79 relevant relevel😅
Why all teachers are joining unacademy😅
One line answer: the reason you are wanting to get placed at FAAANG and not settle at tcs digital :)
@@striver_79 🙁
@@striver_79 Bca wale ke liye bhi kuch bata do... Bhaiya...
I like your 👕 😂
Thanks