Leetcode Biweekly #56 (2nd Place)
Vložit
- čas přidán 3. 06. 2024
- I almost won leetcode.com/contest/biweekly...
Live-stream with more detailed explanation of Q3 and Q4 • LeetCode Biweekly 56 A...
0:00 Q1. Count Square Sum Triples
0:46 Q2. Nearest Exit from Maze
4:56 Q3. Sum Game
10:09 Q4. Minimum Cost to Reach Destination
14:38 Results
Subscribe for more educational videos on algorithms, coding interviews and competitive programming.
- Github repository: github.com/Errichto/youtube
- Live streams on 2nd YT channel and on Twitch: / errichto2 & / errichto
- FB and Twitter: / errichto & / errichto
- Frequently Asked Questions: github.com/Errichto/youtube/w...
Holy shit! I just watched you solve the second problem and already learnt 2 new things -
1. Using dx and dy as against using modulo to figure out the directions.
2. Using vector as a queue in C++
It’s these small things that make a difference in competitive programming I guess.
*0:00** Count Square Sum Triples*
*0:46** Nearest Exit from Maze*
*4:56** Sum Game*
*10:09** Minimum Cost to Reach Destination*
No need of this dude, already there.
Thanks for sharing your solutions. It’s great to see you participating in LC contests and helping folks out. Hoping you will keep up the good work by participating in future contests.
"You have attempted to run to soon. Please try again later."
lmao bruh..
Errichto is motivating me to start the weekly LC contest now haha
Nie mogłam uwierzyć, że jesteś z Polski!
Bardzo ciekawe wywiady, rozwiązania zadań algorytmicznych
Podziwiam! :)
Loved this screencast
I really love your coding style.
Bylo blisko...i tak jestes najlepszy ;))
My python solution for Q4 is exactly same algorithm as you, however, it gets TLE.
Hey Errichto, do you only do training for people in high level competitions or do you train lower level competitors also?
Couldn't solve the fourth problem for straight two months. Didn't even occur to me to iterate through all possible starting time values.
Also, amazing coding speed.
How 2 months when it's 3 weeks old?
@@zdravkobeykov it was a similar problem from ICPC drills. The only difference was that routes cost various amounts of currency, and you had to find the quickest route that was within the given budget.
Pog
Is CP book Competitive Programming 4 by Steven Halim any help?
@Errichto, can Q2 be solved recursively ?
I graduated as a computer engineer and i've only done a few problems in the past 4 years because i was forced to focus on different disciplines in my university. How long will it take to get me back in shape.
btw im new to this channel and my competitive programming skill is potato.
I think all people who practices more get to solve problems faster..... That why I always see frequent names in the top 20 list..... It's really that recognizing patterns in the problem fast......! 👍🏻
thanks for the solution , it was very great :D
Youre a god bro i saw your rating on leetcode please make that kind of video
anh there codeforce will have a contest tonight , can you tell me when will the soltuion of the contest upload ?
man Sum game was so confusing. I had no idea how to even start
🧸 love keyboard cam
Please make a video on topological sort and also on TRIE
Thank you friend ☺️
Thank you!
Love your videos.. Keep going. Btw would u like to go to FAANG?
Read his FAQ
Where r u sir? Can't see your video for so long
god gifted him with extraordinary intelligence but forgot to add the portion for remembering youtube passwords.
He already said in a stream that after a stream on the second channel he is taking break in this month.
@@limakbear7029 ohh I didn’t know that
In the second question, is there any reason why you used vector of pairs instead of a queue ?
Hi Eric , love these short vids. What keyboard are you using? Nvm saw your answer below
You can read his FAQ
Where can i find that faq i really need the name of that keyboard @limak bear
@@limakbear7029 where can i find his faq i really need the name that keyboard
@@kurdicodes9167 yeah where @@
@Errichto why have you not posted any videos recently
You really love coming in second place, Great job though
Great video
bro, do you have method about recover winRAR zip files password ?
Python TLE for the first problem with the exact same code lol, had to change mine to precalculate the possible c**2 values in a set instead (not before losing 5min from penalty though). Also, q3 was so hard for me to figure out during the contest.
That's why c++ and java are preferred, Python is slow, for exact same logic it takes considerable amount to execute.
@@kameshkotwani On codeforces, yes. But they tune the time limits relative to the langauge on leetcode (not always perfectly). Generally any solution with optimal runtime complexity will pass in any language on the site.
@@kameshkotwani your name sounds indian and japanese
Which distro??
After so long first comment love from love ur videos please do make regularly
In which company you work??
In just 16 min😵😵
How you compile the code
which keyboard is that and what is you typing speed??
100+ WPM, logitech ultrax premium (an old keyboard, not produced anymore)
@@Errichto very fast
@@ankitmajee yep, it is very fast, because typing while thinking
how much time did you spend a day solving problems to be a red coder?
Best book for recursion ??
He's typing faster than I can think
This is so satisfying :)
czcams.com/video/UlJi2U6yYmQ/video.html for the august leetcode challenge, you can follow this
No entiendo que dices xd, pero me gustan tus videos, nuevo sub bro :D
es ingles
U'r awesome🌸
Loved this
Plz make a video about IOI. Plz sir❤️.
Dude, who finish first??
Errichto my idol!!!!!!!!!!!!
nice errichto
question 3 sounds like minimax
Are you on instagram ?
Wizard
Na szczęście w pracy nie potrzeba takich problemów rozwiązywać.
Imagine getting a reply from Erricto 🙂
u use linux?
Yes, he is comfortable using Linux (Ubuntu) he also use Windows, because it's convenient to stream.
U R SO SMART!!!
I love you brother
Legend ❤
Hey man.. you can always change your password if you have forgotten it. If u need a tutorial ping me. But please upload
0:02 3 hands???????
Dont you find it annoying to use mouse while typing. What if we could control without mouse. Mouse is great but when you are too much into typing handling mouse breaks your flow.
Anybody had attend errichto classes?
except programming, what have you learned to solve problems that fast ?
RIP?
eyy nvm hes on twitch
i ask myself how are you so good at programming with only less than 2k problems in codeforces
He did a lot of Math problems and that too for years
He solved on different platforms duh, TCO was pretty big pre-2018
I am 17 years old.I want be good at competitive programming. Please give me some suggestions.
Solve problems, you can watch his "how to start with competitive programming" video.
High IQ
What are you meaning by high iq
If you know hindi i can recommend you a good channel to start with
@@sabbirhasan3372 and once you start never stop. atleast do one ques even if you are very busy. Being consistent is the key.
Not even looking at the keyboard
Please, the way to reverse engineer and hack android apk!
Witam
Why you do so much competitive coding the things you know and how your brains works is more more more more than enough for the best best best company in the worlld 😂😂
اكو عرب بالطيارة ؟
Why don't you start a series for DSA 😕😕
First view 😁
fourth
1st view
Anyone please help me 🥰🥰🥰🥰
If I want to be expert at c++ and participate in large tournaments what is the full tree or what should I learn from basics to expert and how long does it takes for me and thanks 🥰🥰🥰🥰
Hai Sir Can You Help my faceboook