Тёмный

Google Kickstart Round C 2020 Explanations 

William Lin
Подписаться 395 тыс.
Просмотров 98 тыс.
50% 1

Contest video: • Winning Google Kicksta...
Second channel (William Lin ++): / @williamlinpp4187
Website: williamlin.io/
Instagram: / tmwilliamlin168
Twitter: / tmwilliamlin168
Discord: williamlin.io/discord

Игры

Опубликовано:

 

24 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 151   
@Gary1q2
@Gary1q2 4 года назад
Will has so much time he is able to make a tutorial explaining the solutions during the exam
@oshawastaken
@oshawastaken 4 года назад
Lmao Gary ur league vids were iconic. Didn’t know that I would find you here
@Gortha5
@Gortha5 4 года назад
HAHAHA
@pragneshamadavadi2267
@pragneshamadavadi2267 4 года назад
He is on top list
@Daniel-ld7xs
@Daniel-ld7xs 4 года назад
This is just so boss hahah
@anthonyguerrero4035
@anthonyguerrero4035 4 года назад
Me pretending I know what I'm watching 👁👄👁
@hectormanueleguiarte2622
@hectormanueleguiarte2622 4 года назад
I was waiting for this video since the round ended and I've just noticed he was recording this while the round was still going
@Daniel-ld7xs
@Daniel-ld7xs 4 года назад
😂😂
@timothygao9442
@timothygao9442 4 года назад
Countdown - 0:05 Stable wall - 3:26 Perfect Subarray - 6:40 Candies - 10:02 Might come in handy :)
@shivaraj-bh
@shivaraj-bh 4 года назад
The third question specifically required you to use arrays to store the prefix sums, i had calculated the maximum sum possible at index i (in O(n)) and I was iterating till the square of the number until it reaches max sum at index i, but only fault was I used map (didn't work), then unordered map (didn't work too).
@vinnycheese4542
@vinnycheese4542 4 года назад
You lost me at i’ll be going over
@gillesottervanger9106
@gillesottervanger9106 4 года назад
I really like your content! Your answer to Candies actually introduced me to BITs. I figured out a way to actually solve this problem with just two BITs by just multiplying the answer by -1 if the left query index is even. It saves some memory and, i guess more importantly, is a bit shorter to write down.
@parthpawar7837
@parthpawar7837 4 года назад
Congratulations on coming first!
@max_k6209
@max_k6209 4 года назад
I'm currently at the end of my first year of CS degree. Super inspired by your vids, keep doing what you are doing !!
@MusmanK01
@MusmanK01 4 года назад
How much math is in CS?
@max_k6209
@max_k6209 4 года назад
@@MusmanK01 I am not sure what do you mean by "how much". Also I am studying in the Netherlands and having looked at the CS programs in the US appears quite different. In my course in the first year we have covered so far Set Theory, Calculus 1A, Calculus 1B, Linear Algebra, and Probability Theory. In the second year we cover Discrete Math, Statistics. (These are all different courses that we take related to math). In reality, I believe that if you are working as dev math does not become a "necessity" however it does give you a "competitive edge". But that's just my opinion.
@notabot8909
@notabot8909 4 года назад
I got the AC solution code for problem B just ~10s after the contest ended. Regretting a lot. I just submitted(coz the Submit button was disabled after the contest ended until now). For the 1st time in my CP life I managed to solve a Topo sort problem in-contest. I am happy for that. (But sadly 10s after it ended). Thanks for explanations.
@anicorner7723
@anicorner7723 4 года назад
That's impressive, don't let the fact that you submitted it 10s after it ended get to you though.
@baebee437
@baebee437 4 года назад
Idk what exactly is going on here but your voice is very soothing so I'mma listen
@AnthonySistilli
@AnthonySistilli 4 года назад
Hey man! I gave you a shoutout on my Tiktok and it went viral! Love your content, keep it up bro!
@wardeviIs
@wardeviIs 4 года назад
I came here because of ur tiktok
@JohnnySinsHD
@JohnnySinsHD 4 года назад
Same
@Shadow-vv2ep
@Shadow-vv2ep 4 года назад
That’s how I got here lmao
@rikharpuri4098
@rikharpuri4098 4 года назад
I came here from your TikTok.. just checking him out. don't understand shit..
@ogmufasa2131
@ogmufasa2131 4 года назад
Oh god, not the tiktok morons PLEASE
@NohandleReqd
@NohandleReqd 4 года назад
The explanations are really helpful William! Thanks
@user-im3gj4yn7d
@user-im3gj4yn7d 4 года назад
Thanks a lot mate, this can be a big help to give a scope how practiced programmer consider about solutions for us beginners
@6packabsandbeer
@6packabsandbeer 4 года назад
For D I think you can use 2 Binary Indexed Trees with negation instead of 4
@harshilbhatia.2490
@harshilbhatia.2490 4 года назад
Wow , i really love your channel it's super inspiring
@simranbal4057
@simranbal4057 4 года назад
I have absolutely no clue what this about or what any of this means but you seem pretty smart and I know you’ll go far in life !
@user-kr6xx5eo6w
@user-kr6xx5eo6w 4 года назад
你好!!!! 我是您台灣小粉絲,看了很多關於您的影片,我一直無法理解有關於您在很多題目中使用的&&,^之類的用法,我理解這些運算子的用意,不過我的邏輯不知道要怎麼去使用這些東西 如果有機會可以方便回覆我,或是可以拍一部影片跟大家說說看嗎 ? 真的很感謝你: ))
@timchen8512
@timchen8512 4 года назад
太強了~ great gob William
@ostenloo1981
@ostenloo1981 4 года назад
William do you only focus on competitive programming or do you create projects as well?
@sakshamjain6900
@sakshamjain6900 4 года назад
Thanks For this William!
@nikhild.20
@nikhild.20 4 года назад
Can you please make a video on how you use gvim for cp and compiling your programs?
@raghavagrawal52
@raghavagrawal52 4 года назад
Please make a video about your vim setup
@HuyLe-rn4ro
@HuyLe-rn4ro 4 года назад
William, can you show us how you setup vim to code and compile c++ ?
@damanbhola4975
@damanbhola4975 4 года назад
william please make a video explaining how to be that good like you, how and where to practice to ace in competitive programming.
@Henry-ul7uh
@Henry-ul7uh 4 года назад
He has a video on the topic
@tylerploucha291
@tylerploucha291 Год назад
Im a bridge design engineer and have no clue what this means but its fascinating to watch! Love it....genius
@hardikjuneja1
@hardikjuneja1 11 месяцев назад
Hardware 😂🎉🎉
@ElMascaPipas
@ElMascaPipas 4 года назад
Hey William, which languages do you know and how did you learn them? Did you us books or only websites?
@eternalgreed6715
@eternalgreed6715 4 года назад
Can you make video demonstrating your editor setup please?
@chits006
@chits006 4 года назад
@William , why cant we solve 'Perfect Square' Problem using rolling sum technique?, i.e. n-1 sum at each index , n-2 sum for each index , I tried but it gives WA.
@vihansubramaniam3593
@vihansubramaniam3593 4 года назад
Bruh how is your focus so good
@prajitbanerjee8226
@prajitbanerjee8226 4 года назад
how long you are programming? your skills are impressive....i am a begineer and it helped me a lot... thanx
@krishnasundar5638
@krishnasundar5638 4 года назад
For the fourth problem the multiplication factor should start from one right ? You started from zero. But I got the idea. Nice and neat implementation.@william
@ystudbeast3
@ystudbeast3 4 года назад
Why am I watching this when I know nothing about coding lol
@kmk69
@kmk69 3 года назад
then start coding mate, good for you and the world xD
@kbcoder3734
@kbcoder3734 4 года назад
Congrats
@nexity588
@nexity588 4 года назад
Do you have any tips on learning how to code? Like any specific website or?
@calvinhuang2426
@calvinhuang2426 4 года назад
it would be great if you could make a video setting up neovim for C++ using Windows 10 lol
@cocChao
@cocChao 4 года назад
amazing!
@biesman5
@biesman5 4 года назад
Any book recommendations about data structures and algorithms?
@m15h48
@m15h48 4 года назад
cp-algorithms.com is pretty good for that
@ethannguyen7447
@ethannguyen7447 4 года назад
i just have a quick question how do you relax during your free time of not coding
@harinmehta1551
@harinmehta1551 4 года назад
It took me this day to understand the solution of problem C
@andrewtampis7981
@andrewtampis7981 4 года назад
I don’t get any of this holy sht my head is about to explode
@manjunathvasam4981
@manjunathvasam4981 4 года назад
When are you gonna upload the next video???? Please do it ASAP!!
@eyuwankgswankg2541
@eyuwankgswankg2541 4 года назад
thank you william
@xxxx-jw1qd
@xxxx-jw1qd 4 года назад
In the first problem you could just count the instances of 2 be followed by 1 and then that would be the answer....
@B1FREQUENCY
@B1FREQUENCY 4 года назад
VERY GOOD!
@jayantibhaivaghela7851
@jayantibhaivaghela7851 4 года назад
Bro where did you learn it from? Please apload c c+ learn videos because I like coding but my codeing knowledge is less
@ritamr2690
@ritamr2690 4 года назад
he's almost at 100k!
@truptishah5907
@truptishah5907 4 года назад
Which languages do you think in while solving problems I am pretty sure it is not English
@Andrew-dw2cj
@Andrew-dw2cj 3 года назад
I am new to computer coding, and I just want to know what language is used in this video, is it java? or c language?
@rahulmodak6318
@rahulmodak6318 4 года назад
what is the significance if s1 in the third problem?
@glimpsesalwan5994
@glimpsesalwan5994 4 года назад
I could just solve only first problem !
@riadahmeti8263
@riadahmeti8263 4 года назад
Where did you learn to code like this? Plz tell me
@val9904
@val9904 4 года назад
i spent 3 days do some kiddie programming for my engineering class and I still didn't do it right this is so impressive
@tanishqmahendrasaini3764
@tanishqmahendrasaini3764 4 года назад
Unable to understand properly : (
@xombiop7792
@xombiop7792 3 года назад
we must be quiet perfevt with the basics to understand this stuff easily
@shanewalsch
@shanewalsch 3 года назад
@@xombiop7792 with the basics of what?
@vathi4022
@vathi4022 4 года назад
Do more Minecraft Survival videos please
@noblesse4728
@noblesse4728 4 года назад
My friend said that if you could explain rocket science to the most stupid person, and he/she understands it, that is when you are truly smart.
@danylfernandes5903
@danylfernandes5903 4 года назад
What is the font you're using in Vim?
@izytro7971
@izytro7971 3 года назад
have you found out yet?
@etherpapi1626
@etherpapi1626 4 года назад
What do you think of Ethereum????????? Or other blockchain projects?????????? Thanks for your thoughts and time.
@theotime5269
@theotime5269 4 года назад
I really like your videos but I can't enjoy it fully because I'm learning python :/ do u think I should try C++ ? (I will continue python as well of course) In my country many of the schools use python so I started with that
@iconickeyboard7640
@iconickeyboard7640 4 года назад
same, that's my problem. Although, if you want to get into competitive programming, I would recommend learning c++ as it is the fastest. That is what I am going to do.
@vuduynguyen5301
@vuduynguyen5301 4 года назад
Since I have try several system, I believe C++ is better for CP because some problems I have time limit error when I use Python for same algorithm. If time limit with Python, the fault can be either in Python system (class, library is slower) or your code, but with C++ it definitely is your fault.
@theotime5269
@theotime5269 4 года назад
@@vuduynguyen5301 thank you for your explaination, indeed I've got some runtime issues with python but I'm not that good, it is often my code which can be optimized :') but I think I'm gonna start C++ for CP and continue python, thanks :)
@theotime5269
@theotime5269 4 года назад
@@iconickeyboard7640 yes thank you, I think I'm gonna start learning C++ for CP and also continue python :)
@grantpostma
@grantpostma 4 года назад
In his overview of competitive programming video he states it doesn't make sense to learn a new language & he reached GrandMaster by using python
@ninjadankoo
@ninjadankoo 4 года назад
Hi, I’m just starting to learn code, and I have no clue on what to start on. Is there typically a specific language to start off with? Thanks!
@JoeK4
@JoeK4 4 года назад
Daniel Koo You can start with any type of language, but the most understandable for beginners is definitly Python. Try that one first and when you feel comfortable with it, you can try other one.
@wardeviIs
@wardeviIs 4 года назад
I have no idea whats happening
@rajatupadhyay201
@rajatupadhyay201 4 года назад
hope you could improve the audio volume.
@coolguy-dw5jq
@coolguy-dw5jq 4 года назад
what is the act vector for in your implementation and also what is v^u case for?
@coolguy-dw5jq
@coolguy-dw5jq 4 года назад
I went through your code properly and this is brilliantly written. How did you come with this way of coding, i.e keeping an active array for the nodes visited. Is this some standard thing or do you come up with these while thinking about the algorithm during implementation?
@akrammohammed1167
@akrammohammed1167 3 года назад
Shouldn't all the arrows direction in the graph at 5:17 be pointing the other way around?
@akrammohammed1167
@akrammohammed1167 3 года назад
Ok, so we have to do Reverse topological sorting when the graphs are pointing like the way they are at 5:17. Normal topological sort will give you a wrong answer. For normal topological sorting then we have to store the adjacency list with arrows the other way around.
@KlavsAdventure
@KlavsAdventure 4 года назад
Obviously this is..., but actually this is... Yeah
@uditgupta9397
@uditgupta9397 4 года назад
Which code editor do you use?
@someshfengade9623
@someshfengade9623 4 года назад
its vim
@felipekettl9391
@felipekettl9391 3 года назад
where is the video explaining the explanation?
@garlapatisaisnehith1392
@garlapatisaisnehith1392 4 года назад
In problem C, Can anyone explain why the array C has been reset to the size of 4*(S1+S2+1) instead of S1+S2+1
@Leo.m28
@Leo.m28 4 года назад
Do I need a degree to work as a software engineer?
@sirface7951
@sirface7951 4 года назад
For how long you code!?!?!
@andrzejzaporozan1420
@andrzejzaporozan1420 2 года назад
Knowing of algorithms on such advanced level is extraordinary. I am learning algorithms and data structures too. But what about making some software or hardware real world products? Are you interested in something else besides pure algorithms and data structures? Is any point to stop in this discipline and moment to start making something real? It is not a claim. It is just question for you Will, for me, for everyone on how to not to get stuck in learning loop
@Jade-jy4ep
@Jade-jy4ep 4 года назад
Is it possible you can give tips for teenagers starting out?
@clipit4503
@clipit4503 4 года назад
He is an teen and he already made a video for how to get started at cp
@sauravjha3262
@sauravjha3262 4 года назад
Why am i watching him explain this when i just started learning to code . lmao.
@Chirrup...
@Chirrup... 4 года назад
Yay
@glassfish7207
@glassfish7207 9 месяцев назад
self esteem - 69420 for me
@DylanM333
@DylanM333 2 года назад
he is genius at maths
@TrulyTheron
@TrulyTheron 4 года назад
What’s the best software to start programming/coding on?
@zebra9389
@zebra9389 4 года назад
Can you first go through the question cause I have no idea what it is talking about LOL.
@user-hf1im1jl3k
@user-hf1im1jl3k 4 года назад
make video about Vim pls)
@mrpandir6572
@mrpandir6572 4 года назад
I'm waiting for someone to make video tutorial for dummies from this explanation video
@leonmozambique533
@leonmozambique533 4 года назад
what school does William go to ?
@TourMP3
@TourMP3 4 года назад
MIT
@mukulpanchakarla8944
@mukulpanchakarla8944 4 года назад
can't understand
@sounishnath513
@sounishnath513 4 года назад
can you please have time to help me, from India ..
@mandarkulkarni9999
@mandarkulkarni9999 4 года назад
Hey I use Python , everytime for the test case 1 also it says time limit exceeded ... Should I use C++
@jimm89
@jimm89 4 года назад
Try Pypy2. Same syntax as Python 2, but a just-in-time compiler so much much faster.
@ash1728
@ash1728 4 года назад
i know nothing about coding and it’s 2 am and i’m here like 👁👄👁
@vineetsaddi3177
@vineetsaddi3177 3 года назад
Same
@swapnosanjogmohanty8920
@swapnosanjogmohanty8920 4 года назад
How do you master advance math skill for cp any resources ??
@clipit4503
@clipit4503 4 года назад
Khan academy
@prashantmajumdar1519
@prashantmajumdar1519 4 года назад
Which ide he uses anyone??
@secularph8424
@secularph8424 4 года назад
For the first problem I used O(n) approach and the solution was clear Even got correct answer for the sample test cases and myown test cases but gives WA on submit I checked if current element is m if yes then decrement m by one and continue Else m is reseted every time And when m reaches 0 increment counter and reset What is wrong anyone help
@RishuKumar-fx1ci
@RishuKumar-fx1ci 4 года назад
for this example - m=3, a[] = { 3,2,3,2,1 }, a[0] and a[1] will match but a[2] will not match and u will reset m=3 and move ahead to a[3] i.e 2 and as m=3 it will not match and u will move ahead to a[4] which will not match as well and ur answer would be 0 but it should be 1, so whenever u reset m check again if current element is m or not
@secularph8424
@secularph8424 4 года назад
@@RishuKumar-fx1ci omg omg omg omg omg omg I Am the stupidest thing alive. Ughhhhhhhj idiot me
@mandarkulkarni9999
@mandarkulkarni9999 4 года назад
@@secularph8424 after me 😏
@Yourmom-xd6nz
@Yourmom-xd6nz 4 года назад
Nice voice :)
@karasala7722
@karasala7722 4 года назад
William how old are u?
@karthiksk7246
@karthiksk7246 4 года назад
18
@kirstiesantos9299
@kirstiesantos9299 4 года назад
Bruh I'm too dumb for this
@exige3046
@exige3046 4 года назад
me not understanding anything 🥴
@joshuajolly1295
@joshuajolly1295 4 года назад
Does anyone know which language he codes in?
@karthiksk7246
@karthiksk7246 4 года назад
C++
@sur_shrimpster
@sur_shrimpster 3 года назад
I'm sorry sir, but I think I need an explanation for this explanation
@ireacttoeverythingeverythi4833
@ireacttoeverythingeverythi4833 4 года назад
I never knew competitive programming was a thing Lol
@stina263
@stina263 4 года назад
I know right
@botdog370
@botdog370 4 года назад
same, but if u think about it theirs comp in everything
@Xynic48
@Xynic48 3 года назад
there's even a hacking competition called CTF (Catch the flag). And it's not even just online, teams would go to a legit venue like any e-sport competition. many chinese join these events.
@riverlance9647
@riverlance9647 4 года назад
i want to join a coding group , it may be in whatsapp group or else , ; but i dont want to join those group which is by companies or organisation for learning , because mostly people in that group start with "how do i learn to code", but i know coding , just want guys to discuss with ,or maybe share and compete with if anyone has any such groups please i want you to get me a invite i know C,CPP,java , python , a bit about linux and a gamer , i got my data structures down good
@heavenlyyaksha68
@heavenlyyaksha68 4 года назад
Makes me want to take a shot of liquid mercury cause I can never reach this level
@traveler7716
@traveler7716 3 года назад
Based and left brained.
@ansh6848
@ansh6848 4 года назад
Congratulations on coming first.Please help me how should I come second.I have got 100th rank
@clammerify
@clammerify 4 года назад
dem Asians
Далее
Google Kickstart Round B 2020
1:37:36
Просмотров 149 тыс.
Winning Facebook (Meta) Hacker Cup Qual Round 2022?
53:55
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Просмотров 889 тыс.
Winning Google Kickstart Round C 2020
30:57
Просмотров 3,9 млн
Almost Winning Google Kickstart Round E 2020
47:37
Просмотров 180 тыс.
Kickstart 2021 Round C (1st place)
1:18:05
Просмотров 216 тыс.
Winning Google Kickstart Round B 2022
41:48
Просмотров 559 тыс.
Google Coding Interview With A High School Student
57:24
Vim Navigation Commands
21:42
Просмотров 112 тыс.
Winning Google Kickstart Round E 2022!
44:47
Просмотров 109 тыс.
ASMR Programming - Spinning Cube - No Talking
20:45
Просмотров 3,6 млн
Sliding window technique - Inside code
9:07
Просмотров 41 тыс.
ИГРОВОЙ АВТОМАТ !! КАБАНИМСЯ
2:47:17