Leetcode Weekly Contest 375 - Video Editorial
40:31
Leetcode Weekly Contest 374 - Video Editorial
21:24
КОМЕНТАРІ
@shengki333
@shengki333 4 дні тому
So now I have summer vacation till my fifth semester starts so I am going to start with codeforces. Thank you so much aniket
@cosmostravelar
@cosmostravelar 5 днів тому
We need to solve dsa questions before it
@shengki333
@shengki333 6 днів тому
No Aniket I am in second year moving to 5th semester so can I do codeforces after 3 to 4 months of leetcode practice
@aniketmore8789
@aniketmore8789 4 дні тому
If you have time, always prefer codeforces over leetcode.
@shengki333
@shengki333 6 днів тому
Hi Ankit actually I am a complete beginner and just recently started solving questions on leetcode and struggling with that should I start codeforces or first practice a significant amount of questions on leetcode before moving towards codeforces cause I saw some 800 to 900 rated problems and I couldn't understand felt like dumb that I am not able to solve such low rated problems as well. According to this what would you suggest and please some advice how to improve coding skills
@aniketmore8789
@aniketmore8789 6 днів тому
If you are at a stage where your placements are near then I would suggest you to stick with leetcode and practice problems.
@vidyasagarhansda1024
@vidyasagarhansda1024 6 днів тому
Hey do you need freelance thumbnail work !! Let me know if you want !!
@aniketmore8789
@aniketmore8789 6 днів тому
Not right now. But you can dm on linkedin or twitter, So whenever I need I will msg you.
@kareempatel8250
@kareempatel8250 6 днів тому
How to approach 3rd question in contests. I always get stuck on Q3. I solved first 2 Q within 15 mins. What rating can I expect?
@Idk-qg7hb
@Idk-qg7hb 6 днів тому
Konsa year? , 3rd tho bahut easy tha aj ka
@kareempatel8250
@kareempatel8250 6 днів тому
@@Idk-qg7hb strike nahi hua mujhe :( I am in third year
@aniketmore8789
@aniketmore8789 6 днів тому
Practice 3rd question of last 30-40 contests. You will find some topics in which you are weak or unaware of. Then learn those topics and practice similar questions. You will have to see editorial for first few questions but eventually you will improve.
@aniketmore8789
@aniketmore8789 6 днів тому
And for checking prediction of rating changes you can use lccn.lbao.site
@shengki333
@shengki333 8 днів тому
One additional question please that in cp their are specific math topics and some advance algorithms are required to solve higher level questions. But still it would be great help if you can tell most used math concepts
@aniketmore8789
@aniketmore8789 6 днів тому
Modular arithmetic, seive, euclidean gcd algorithm, lcm, binary exponential, combinatorics etc.
@Satish_deepvoice
@Satish_deepvoice 14 днів тому
Bhai me samjh hi nhi aa raha hu kese code implement Karu , koi suggestion bhai❤
@aniketmore8789
@aniketmore8789 12 днів тому
To improve implementation skills solve more easier problems. Get good at implementing some difficult but brute force solutions. Then move to medium problems.
@StockMarketbysahil
@StockMarketbysahil 15 днів тому
Permutations and combinations wali math jee advanced level tak ki aani chahiye ? Cp ke liye ?
@aniketmore8789
@aniketmore8789 14 днів тому
Nahi Bas basics karlo starting mein. Uske baad jaise jaise difficulty badhegi waise jyada concepts use honge.
@StockMarketbysahil
@StockMarketbysahil 14 днів тому
@@aniketmore8789 yani advance tak kar lunga toh benifit hogi ?
@samrat_malisetti
@samrat_malisetti 15 днів тому
Will you be uploading daily a video on Leetcode daily challenge?
@aniketmore8789
@aniketmore8789 15 днів тому
Yes
@samrat_malisetti
@samrat_malisetti 15 днів тому
@@aniketmore8789 Please do regularly. I try to follow up with the series and try myself to be consistent. Thanks :)
@tempregex8520
@tempregex8520 19 днів тому
How did you balance in context switch involved in codeforces and leetcode? What would you prioritize when you have an upcoming interview? What woudl be a approach for a peson like me who is a beginner in cp but has decent knowledge of leetcode?
@adityamane6511
@adityamane6511 20 днів тому
Great explanation Aniket!
@abhijit2575
@abhijit2575 20 днів тому
Make more videos like number theory approach video
@aniketmore8789
@aniketmore8789 20 днів тому
Yes
@theclimaxscene
@theclimaxscene 20 днів тому
thank you so much..plz do upload the videos like this for all contests i love your solution. now gfg also use to ask hard question in weekly contests upload its solutions also
@aniketmore8789
@aniketmore8789 20 днів тому
Will try to upload.
@Satish_deepvoice
@Satish_deepvoice 23 дні тому
How many months will take to be good at
@yoyo8293
@yoyo8293 23 дні тому
we can maintain prefix_min and suffix_min arrays, we don't require multiset here
@tempregex8520
@tempregex8520 23 дні тому
newbie to CP, can someone please explain what are difficulty levels here? im always finding myself looking for Div3/4, so is it that Div1 is hardest? or div4 is hardest?
@aniketmore8789
@aniketmore8789 23 дні тому
Div1 is hardest
@simhadrideepthi3955
@simhadrideepthi3955 24 дні тому
Hello bro i am at 1st year how to get stated with cp
@aniketmore8789
@aniketmore8789 23 дні тому
1) Learn basics of any programming language. 2) explore websites like codeforces. Codechef etc. 3) start problem solving and participating in contests.
@giri_aditya_
@giri_aditya_ 24 дні тому
Can you please give the link to ACD ladder?
@patilvishalpravin7627
@patilvishalpravin7627 27 днів тому
Able to solve A & B. Informative content
@663rohangadhave9
@663rohangadhave9 27 днів тому
Thanks it's helpful
@FunMan_08
@FunMan_08 27 днів тому
increase video quality
@aniketmore8789
@aniketmore8789 27 днів тому
It was processing at the start, Now 1080p is available.
@nqz3
@nqz3 Місяць тому
very inspiring
@botsquad6305
@botsquad6305 Місяць тому
Great 👍🏼
@raajuuteddd2202
@raajuuteddd2202 Місяць тому
Can you give the link to c20j ladder ? I can't find it please help thanks
@aniketmore8789
@aniketmore8789 Місяць тому
c2-ladders-juol.onrender.com/
@SaifulIslam-vi7cy
@SaifulIslam-vi7cy Місяць тому
I solved 200 Q in codeforces but still cannot solve any Q in contest. No logic is come into my mind😢
@AbdurRahman-sp6sm
@AbdurRahman-sp6sm 26 днів тому
Try to solve recent 800 and 900 rating problem. Try 1 hour timre hurt and soul, If you get struck, then see editorial or vedio solution from You Tube.
@anuragbhanu2890
@anuragbhanu2890 Місяць тому
@shengki333
@shengki333 Місяць тому
Hi you mentioned in one of the comments that you whenever you learn new topic you just solve 7-8 questions on that so how do you specifically find that questions
@aniketmore8789
@aniketmore8789 Місяць тому
For every topic, there is a section on cp algorithms website and at the end of each section, there are 10-15 practice problems. So you can refer that.
@shengki333
@shengki333 Місяць тому
@@aniketmore8789 oh thank you so much
@shengki333
@shengki333 Місяць тому
One additional question please that in cp their are specific math topics and some advance algorithms are required to solve higher level questions. But still it would be great help if you can tell most used math concepts
@abdulrahimshaikh871
@abdulrahimshaikh871 Місяць тому
Otherwise just solve the A2OJ Ladder problems as practice. It's better that way
@aniketmore8789
@aniketmore8789 Місяць тому
As long as you practice difficult questions, there is no issue.
@giri_aditya_
@giri_aditya_ 24 дні тому
Can you give the link to A2OJ ladder, I couldn't find it.
@hardikpatel352
@hardikpatel352 Місяць тому
bro, should i learn dsa first after start participating in contest or do both
@aniketmore8789
@aniketmore8789 Місяць тому
Do both simultaneously.
@subhamcoder
@subhamcoder Місяць тому
needed this
@santhosh7042
@santhosh7042 Місяць тому
Bro literally 15 min ago ive seen that you're first rank in India. representing India today's contest. And recommendation pop-ups.
@santhosh7042
@santhosh7042 Місяць тому
Bhai kya tuje bhi new question ke answers dekhna pada ya kudse sare hojathe. Kithe minutes try karne ke baad answers dekhto ho
@aniketmore8789
@aniketmore8789 Місяць тому
Give atleast 30 minutes and then see editorial, at start you will struggle to solve problems but eventually improve.
@phlox22
@phlox22 Місяць тому
so basically what he is trying to say is suppose i am struggling in A or B or C problem in a contest so i select all the past contest and solve all the A/B/C problems of those contest and learn from them , please correct me if i miss something
@aniketmore8789
@aniketmore8789 Місяць тому
Absolutely correct.
@blurrybrush1010
@blurrybrush1010 Місяць тому
thank you really helpful
@abhinavpandey4145
@abhinavpandey4145 Місяць тому
Very helpful 👍👍
@Ani_86_
@Ani_86_ Місяць тому
Nice explanation!
@Ani_86_
@Ani_86_ Місяць тому
Congrats on AIR 1!!
@Roman_076
@Roman_076 Місяць тому
for becoming pupil what should we do pls share with us
@aniketmore8789
@aniketmore8789 Місяць тому
first 3 slides are enough
@user-fm8jx
@user-fm8jx Місяць тому
Great....just include recursion
@adityamane6511
@adityamane6511 Місяць тому
Tried 3 one with multiset but was failing on the last testcase. Great solutions Aniket!!!
@aniketmore8789
@aniketmore8789 Місяць тому
For D, Ideal solution is to use trie, but I first used string hashing with mod value as 1e9+9, but got WA on hidden test case which means there are collisions so then I fine tuned the mod value to avoid those collisions, So this is not an ideal solution which also might fail if contest authors add more testcases. Solution Link - leetcode.com/contest/weekly-contest-390/submissions/detail/1212164285/
@CaliboyCode
@CaliboyCode Місяць тому
Thank you 🤩
@gauravyadav7925
@gauravyadav7925 Місяць тому
How much time it will take to reach a rating similar to yours🙃
@aniketmore8789
@aniketmore8789 Місяць тому
It Depends But Took me more than 1 year.
@negasonicteenagewarhead
@negasonicteenagewarhead Місяць тому
Really helpful
@wavyway7140
@wavyway7140 Місяць тому
Thanks
@goldenx2417
@goldenx2417 Місяць тому
Bruh while learning do you make notes and revise it ?
@aniketmore8789
@aniketmore8789 Місяць тому
No. Whenever I learn something new, I will just solve 7-8 problems based on that. So i understand the concept clearly.
@KaustubhThakur-ln6nm
@KaustubhThakur-ln6nm Місяць тому
You know what I did ,I make 2 Mashups 1 of all div2 c rating range between 1300-1600 and 2 of div3 e and div2 d rr 1400-1800 and solve all 198 problem in duration of 60 day and I was able to reach expert in 60 days ,I used to also solve easy like div2 b and also used to practice on project Euler ,spoj and atcoder
@rachitshukla7111
@rachitshukla7111 Місяць тому
Hey man, how to create mashups?
@KaustubhThakur-ln6nm
@KaustubhThakur-ln6nm Місяць тому
@@rachitshukla7111 go to codeforces gym and their is option where u can create mashups
@leonelchailand8479
@leonelchailand8479 Місяць тому
Can you share the mashups?
@premangraithatha8273
@premangraithatha8273 Місяць тому
share your CF profile
@anupamkasturia3821
@anupamkasturia3821 Місяць тому
Didn't realise during the contest that freq array would be of size 26 only...used upper bound to do calculations🙃
@aniketmore8789
@aniketmore8789 Місяць тому
if it works, it works 🙃 Sometimes unnecessary optimization might decrease your submission speed.
@anupamkasturia3821
@anupamkasturia3821 Місяць тому
@@aniketmore8789 yeah ,it did decrease.
@ankit_yadav11
@ankit_yadav11 Місяць тому
kis year me ho chhote
@devvikramsingh7785
@devvikramsingh7785 Місяць тому
How to practice observations in greedy adhoc problems. I find them the most challenging than any other . Great video as always 😍
@aniketmore8789
@aniketmore8789 Місяць тому
solve 1300-1500 difficulty problems. There is no trick to master greedy and ad-hoc problems, just need to solve more problems, so observation becomes more intuitive and eventually you will improve.
@mahmoudabdelazim7442
@mahmoudabdelazim7442 20 днів тому
While solving also try to read proofs and try to think how the others get this intuition if you cannot get it .. what steps they do or what strategy they have .. that may help a lot
@canandraj4211
@canandraj4211 Місяць тому
Very good video 👏
@shloksuman8164
@shloksuman8164 Місяць тому
subscribed!