Day 9/25: Rope Bridge | Advent of Code 2022 Explanations

  Рет қаралды 2,790

William Y. Feng

William Y. Feng

Күн бұрын

Пікірлер: 10
@0x69
@0x69 Жыл бұрын
Your explanation is really good, dunno why you have this less viewers, keep it up!
@CanYouDodgeThis
@CanYouDodgeThis 2 жыл бұрын
The scale down trick is what I was missing. My solution was gross. Thanks for sharing.
@TheFrogfather1
@TheFrogfather1 2 жыл бұрын
Congratulations on getting into the top 100! I'm around position 17,000 😳
@marcusaberg
@marcusaberg 2 жыл бұрын
I think it was really hard to parse based on the text in the task how the tail was actually moving . Impressed how you could get that that quickly and adapt your code. In the end I went for some array subtraction shit that i had to think through a lot before getting it right. If I would have understood that normalizing the difference between the head and the tail woud give me the move direction it would have made it a lot simpler :) like you did in the matter of minutes :)
@WilliamYFeng
@WilliamYFeng 2 жыл бұрын
Thanks! Yeah, finding that normalization technique was really a stroke of inspiration and drastically reduced the amount of casework I had to do.
@dawizze1
@dawizze1 2 жыл бұрын
Out of curiosity. What do you do to practice? Or get better at solving these types of problems? Do you just do a shit ton of LeetCode or something else? lol Curious because I notice you and others seem to have a patterned approach. Meaning you're able to quickly see what category this type of problem falls into and what kind of approaches, data structures, etc. are useful to solve this type of problem.
@WilliamYFeng
@WilliamYFeng 2 жыл бұрын
Hey there! I did a bunch of LeetCode contests two years ago, and made videos explaining my solutions to the problems. Here's a playlist with all of them: kzbin.info/aero/PLsqh-jhhTL2-1J8o1_yWdjzmSIdWZ2swb Doing those contests was one of the primary things that boosted my problem-solving skills, as well as my ability to implement solutions quickly. I'd definitely recommend doing more of that practice.
@dawizze1
@dawizze1 2 жыл бұрын
@@WilliamYFeng thanks so much for the insight!
@shirshzibbu330
@shirshzibbu330 2 жыл бұрын
video title should be "Rope Bridge"
@WilliamYFeng
@WilliamYFeng 2 жыл бұрын
Fixed, thank you 👍
Day 8/25: Treetop Tree House | Advent of Code 2022 Explanations
11:23
William Y. Feng
Рет қаралды 2,4 М.
Advent of Code 2024 Day 13 Python (Mathematical Approach)
21:24
Software Dev James
Рет қаралды 17
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Jaume Gomis: Explorer of “the next layer of reality”
4:23
Perimeter Institute for Theoretical Physics
Рет қаралды 1,5 М.
Functional programming - A general introduction
11:47
Daedalus Community
Рет қаралды 118 М.
Day 12: Garden Groups | Advent of Code 2024
30:21
William Y. Feng
Рет қаралды 312
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 135 М.
Day 21: Keypad Conundrum  | Advent of Code 2024
14:36
William Y. Feng
Рет қаралды 72
Day 6 - Advent of Code 2024 (Solution)
17:46
James Peralta
Рет қаралды 1,2 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
What P vs NP is actually about
17:58
Polylog
Рет қаралды 140 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 399 М.
Day 14: Restroom Redoubt | Advent of Code 2024
44:08
William Y. Feng
Рет қаралды 780
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН