Day 15: Lens Library | Advent of Code 2023

  Рет қаралды 735

William Y. Feng

William Y. Feng

Күн бұрын

Пікірлер: 2
@lee-uq6pm
@lee-uq6pm 9 ай бұрын
i still didnt understand how do you know to append in which box? i dont get the logic
@vegeta3993
@vegeta3993 9 ай бұрын
I implemented the "hashmap" as a list of dictionaries (python3). The list is 256 elements long, and the index of the list to either place the lens into or pop from is the result of the hashing algorithm developed in part 1 on the first letters in the current line in the sequence (ie. 'rn', 'cm', 'qp', ...). Hope that helps.
Day 14: Parabolic Reflector Dish | Advent of Code 2023
13:21
William Y. Feng
Рет қаралды 776
Day 13: Point of Incidence | Advent of Code 2023
11:39
William Y. Feng
Рет қаралды 1,1 М.
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 121 МЛН
Coding in a Random Programming Language Everyday (Huge Mistake)
17:17
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 253 М.
Improving Readability Through Fewer Arguments
13:12
Senior Code Review Buddy
Рет қаралды 2,6 М.
Advent of Code 2023 Day 18: Lavaduct Lagoon
12:17
HyperNeutrino
Рет қаралды 4,9 М.
Day 10: Pipe Maze | Advent of Code 2023
12:16
William Y. Feng
Рет қаралды 4,4 М.
Day 03 - Advent of Code
30:22
chris biscardi
Рет қаралды 7 М.
Advent of Code 2023 Day 1: Trebuchet?! in C# ✅✅
19:58
Martin Zikmund
Рет қаралды 3,6 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 593 М.
Advent of Code 2023 Day 25: Snowverload
8:43
HyperNeutrino
Рет қаралды 3,1 М.