Leetcode Weekly Contest 279 | Live Problem Solving | Striver
HTML-код
- Опубликовано: 12 сен 2024
- Check our Website:
In case you are thinking to buy courses, please check below:
Link to get 20% additional Discount at Coding Ninjas: bit.ly/3wE5aHx
Code "takeuforward" for 15% off at GFG: practice.geeks...
Code "takeuforward" for 20% off on sys-design: get.interviewr...?_aff=takeuforward
Crypto, I use the Wazirx app: wazirx.com/inv...
Take 750 rs free Amazon Stock from me: indmoney.oneli...
Earn 100 rs by making a Grow Account for investing: app.groww.in/v...
Linkedin/Instagram/Telegram: linktr.ee/take...
---------------------------------------------------------------------------------------------------------------------------------------------------- Every Sunday at 10 pm, Striver will be solving the Leetcode Weekly Contests Live at 10 pm. In the stream, he will be solving the problems with explanation, and live submitting them.
Core Sheet With Solutions: takeuforward.o...
SDE Sheet: takeuforward.o...
Contest Link: leetcode.com/c...
You can join us at telegram by clicking the telegram link here: linktr.ee/take...
Linkedin/Instagram: linktr.ee/take...
Second Channel: linktr.ee/take...
Let me know in the comments, did you enjoy it? Also keeping the like target to be 2000 :P
Enjoyed US
Bhaiya Hindi me bhi lao please
This was the first contest solving video of yours which I watched
And totally loved it
Amazing Video ,love the way you teach the most efficient approach so easily. I have learnt many things for CP from here only and will learn from this channel only beacuse you make things easier to understand wish you.
You are amazing teacher and inspiration sir ,wish you joy , happiness and good health.
Thank you very much sir for all your Efforts:).
Amazin Striver... You explained em perfectly as you do every week. It was fun :)
It was amazing!!!! pls keep doing them
Do people get hired by leetcode weekly contest of Amazon pay or today AWS one ? I participated in both couldn't solve more than 3 questions
I got TLE in one of the case of bitset what can be the issue?
Last solution blew my mind, amazing stream bro 👍
question why are we not considering the flip variable in other functions like count, all and one instead of just fix and unfix..?
Thanks a lot striver .. do the same for biweekly also
I don't know how anyone can come up with such a great solution, kudos to that person who suggested the soln to the last question. I doubt that it will be useful in interviews!
Just want to learn your approach of teaching to use it in interview,Amazing
Yes we really Enjoy your live sessions!! ❤❤
Can we please start this series again
got runtime error in first question, submitted this same code.
hey, please share today's link .
Extremely good teacher you are❤️❤️❤️❤️
Really enjoyed the stream got to learn so much
Please make a seperate playlist for this
Done
Good explanation UQ's
Please upload dp soln also
nice bhaiya
Sir ap bengali ho?
Understood
Yes broooo
Best explanation
Bhaiya, in an average if I solve 3 questions in every LC contest, does it mean I'm ready for coding rounds in big companies?
Yes probably if you completed sde sheet also
@@mohammedraheez3236 what is sde sheet?
@@himagirishnd3286 Striver has a SDE sheet for placements/internships covering all the important topics and questions. You can check it out if you want to.
US understood
you are king
Your Solution On Design Bitset give TLE
Try This one
class Bitset {
public:
string s="",t="";
int cnt=0;
int size=0;
Bitset(int size) {
for(int i=0;isize=size;
}
void fix(int idx) {
if(s[idx]=='0')
cnt++;
s[idx]='1';
t[idx]='0';
}
void unfix(int idx) {
if(s[idx]=='1')
cnt--;
s[idx]='0';
t[idx]='1';
}
void flip() {
swap(s,t);
cnt=size-cnt;
}
bool all() {
return cnt==size;
}
bool one() {
return cnt;
}
int count() {
return cnt;
}
string toString() {
return s;
}
};