(4th place) Leetcode Biweekly 44

  Переглядів 4,342

Errichto Hard Algorithms

Errichto Hard Algorithms

3 роки тому

Screencast of Leetcode Biweekly Contest 44 leetcode.com/contest/biweekly...
Subscribe for more educational videos on algorithms, coding interviews and competitive programming.
- live streams: / errichto
- Main YT channel with educational videos: / errichto
- FAQ & GitHub Wiki: github.com/Errichto/youtube/w...
- Discord: / discord

КОМЕНТАРІ: 25
@rohithv63
@rohithv63 3 роки тому
You can use Use example testcase button instead of copy and post each and every test case. anyway congrats👍
@Errichto2
@Errichto2 3 роки тому
Thanks! I will try to remember this next time.
@AlgosWithKartik
@AlgosWithKartik 3 роки тому
I think my solution for the third problem decode XORd permutation is very similar to Errichto's solution. Adding a leetcode discuss link, If someone wants to read a detailed explanation with proof for the same.
@AlgosWithKartik
@AlgosWithKartik 3 роки тому
leetcode[dot]com/problems/decode-xored-permutation/discuss/1032697/Alternate-Mathematical-Solution-with-detailed-proof-or-O(NlogN)
@sorajk8958
@sorajk8958 3 роки тому
ERRIC you are awesome plz do more of these videos. love from india.
@coefficient1359
@coefficient1359 3 роки тому
Where is that black science background? 🙂
@Kadaj0666
@Kadaj0666 3 роки тому
That was AWESOME !!! Thanks for the vid !
@gwhizGV
@gwhizGV 3 роки тому
@errichto2 problem 3 can be solved easier if we just found the last element. Let's say the original sequence had a, b, c. We can then xor every alternating value in the encoded sequence followed by xoring abc. Ab xor abc = c
@GauravSharma-gc7mo
@GauravSharma-gc7mo 3 роки тому
Bhai esi coding karne ke liye kya karna padegaa C++ dsa aur
@gwhizGV
@gwhizGV 3 роки тому
@@GauravSharma-gc7mo can you ask your question in English? I don't know Hindi
@GauravSharma-gc7mo
@GauravSharma-gc7mo 3 роки тому
@@gwhizGV I am saying that what i will have to do extra for this type of high level coding ? I know c++ dsa and c I AM BCA. Student Can I become competitive coder PLEASE GUIDE ME 🙏🙏
@programmer2279
@programmer2279 3 роки тому
Hope more contest like this
@B0JACK
@B0JACK 3 роки тому
He turned a medium problem into a hard one and still solved it quicker than me damn
@Kaivalyamani
@Kaivalyamani 3 роки тому
Can u please explain that xored one in a seperate video...please
@himanshuchhikara4918
@himanshuchhikara4918 3 роки тому
Pls upload all contests
@programmer2279
@programmer2279 3 роки тому
❤️
@Amritanjali
@Amritanjali 3 роки тому
will this work?? we can find the first 3 number by hit and trail then I will simply xor the previous number to get next like 1^2 2^3 3^4 4^5 so I will check what are those 3 number which will give 1st and 2nd number
@abhiraj9990
@abhiraj9990 3 роки тому
isn't Star and bar method applicable for identical objects. but here all prime factors are not identical.
@amod4935
@amod4935 3 роки тому
Congrats Errichto. BTW first comment
@svsrkpraveen
@svsrkpraveen 3 роки тому
I am curious why you use ++i instead of i++, Is there a reason for preferring one over the other?
@yolodoee8640
@yolodoee8640 3 роки тому
For looping, no. ++i is just the k&r way for incrementing. A lot of the older programmers( + ppl who learned c first or pascal) follow the k&r coding style. In other cases, post increment and pre increment could change the value of your final answer though
@svsrkpraveen
@svsrkpraveen 3 роки тому
@@yolodoee8640 Yes, I do know the latter part, where x = i++; is different from x = ++i; So it is basically a coding style?
@yolodoee8640
@yolodoee8640 3 роки тому
@@svsrkpraveen yeah it’s coding style at the end of the day. A lot of Europeans do this (especially from Poland, Russia etc)
@thetester8371
@thetester8371 3 роки тому
One request, can we please have the sound of your keyboard again. I used to love how you type, the sound of the your keyboard would give me the feels of some ....piston in the engine of a motor vehicle. And I used to love that. Can we please have it back. That will be cool.
@piyushnaithani7689
@piyushnaithani7689 3 роки тому
❤️
Codeforces 844 (Div. 1+2), Tourist's Round
2:19:44
Errichto Hard Algorithms
Переглядів 13 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
Excited Dog Zooms In and Out of Sliding Door!
00:18
The Pet Collective
Переглядів 14 млн
Піхотинець - про рутину на фронті
00:46
Суспільне Новини
Переглядів 1 млн
Codeforces Div1 Problems of the Week
1:13:31
Errichto Hard Algorithms
Переглядів 7 тис.
Maximum Product Subarray - Dynamic Programming - Leetcode 152
15:31
Where Does Bad Code Come From?
42:21
Molly Rocket
Переглядів 177 тис.
(Hard) Atcoder Grand Contest 54 E - ZigZag Break
1:53:36
Errichto Hard Algorithms
Переглядів 4,5 тис.
Easy Coding Problems (Reply Code Challenge Teen Edition)
1:05:24
Errichto Hard Algorithms
Переглядів 8 тис.
Square Root Decomposition, Mo's Algorithm
1:29:36
Errichto Hard Algorithms
Переглядів 26 тис.
Leetcode Coding Interview Problems live!
2:00:41
Errichto Hard Algorithms
Переглядів 3,6 тис.
Google Hash Code practice
2:47:40
Errichto Hard Algorithms
Переглядів 11 тис.
Codeforces Good Bye 2022 live coding
3:02:48
Errichto Hard Algorithms
Переглядів 10 тис.
[Hard] Square Root Decomposition - Homework
1:13:50
Errichto Hard Algorithms
Переглядів 6 тис.