Konstantin (@constb) header
Konstantin (@constb) profile picture
Antalya, Türkiye
Joined July 2009
Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)Photo by Konstantin (@constb)
Made a mistake thinking I need to figure out subject as well. After almost 30 min of trying and getting nowhere, I figured out how wrong I was. Anyway thank you for all the fish @ericwastl I just completed all 25 days of Advent of Code 2020! adventofcode.com/ #AdventOfCode
1
1
Couldn't compete for time today, joined almost 2 hours late, had dinner in the middle. But the puzzle itself was pretty simple, didn't expect that on day 24… :) I just completed "Lobby Layout" - Day 24 - Advent of Code 2020 adventofcode.com/2020/day/24 #AdventOfCode
1
Optimising this in #JavaScript hardly qualifies as fun. Tedious hand-coding of a linked list and mapping elements to speed up value look-ups did the trick. I've completed "Crab Cups" - Day 23 - Advent of Code 2020 adventofcode.com/2020/day/23 #AdventOfCode
3
The complexity of the conditions is where I lost time today. I was copying whole sub-deck on part 2, not just valueN items and code wouldn't finish. Still in top-1000 though… I just completed "Crab Combat" - Day 22 - Advent of Code 2020 adventofcode.com/2020/day/22 #AdventOfCode
1
1
5
Somehow I found only one way to solve part 1, which is to build a map allergens-ingredients – which is exactly what part 2 is. Gonna check out solutions subreddit now… I just completed "Allergen Assessment" - Day 21 - Advent of Code 2020 adventofcode.com/2020/day/21 #AdventOfCode
3
#523. I'm literally dead… I just completed "Jurassic Jigsaw" - Day 20 - Advent of Code 2020 adventofcode.com/2020/day/20 #AdventOfCode
2
Quickly coded a simple recursive descent that did part 1 but didn't work for part 2. Took a while to figure it out. And then I saw people just converting rules to regex… 🤦‍♂️ I just completed "Monster Messages" - Day 19 - Advent of Code 2020 adventofcode.com/2020/day/19 #AdventOfCode
3
My first AoC points!!!!!!!!!!!!!!!!!! Crazy!!!!! 😱 I just got rank 98 on "Operation Order" - Day 18 - Advent of Code 2020 adventofcode.com/2020/day/18 #AdventOfCode
1
3
It seems every time puzzle can be solved with a bunch of regexes and string splits, JS shines. Everything else is way more convoluted and often needs to be manually written. Language and library are rather limited. No wonder leaderboard is mostly python and ruby people…
Oh, this was a bit of a nightmare of debugging and fixing minor stuff. Also for the infinite space I made a map too large, it was way too slow for part 2, barely moving forward… I just completed "Conway Cubes" - Day 17 - Advent of Code 2020 adventofcode.com/2020/day/17 #AdventOfCode
1
1
Fourth instead of creating a new map on each iteration was reusing already allocated one, just swapping the two back and forth. Still slow. Then I started calculating "bounds" of where active items are located. Now it was fast, but produced wrong result.
1
It appears swapping two maps made "leftovers" from previous iteration survive extra round and then add extra active items. Had to widen the bounds a little and only then – it was fast and correct. But I lost so much time in the process that I barely hit #2500 mark. #JavaScript
I was 10 minutes late to the party and yet somehow hit place #754. I'm definitely getting better at speed-typing those nested loops. No regexes today, just split everything I just completed "Ticket Translation" - Day 16 - Advent of Code 2020 adventofcode.com/2020/day/16 #AdventOfCode
1
TIL Sparse arrays in #JavaScript suck, but ES6 Maps are really fast. Part 1 array-based solution worked, but part 2 would take hours or possibly run out of memory. I just completed "Rambunctious Recitation" - Day 15 - Advent of Code 2020 adventofcode.com/2020/day/15 #AdventOfCode
1
1
1
The "generate all addresses" part was fun, quickly threw a recursive function on that, and now I'm thinking if there's an easier way to do that… And I'm in top-1000 again… I just completed "Docking Data" - Day 14 - Advent of Code 2020 adventofcode.com/2020/day/14 #AdventOfCode
1
2
Can't help but think if getting to top-1000 became easier. Must be that Day 13 part 2 CRT problem made many people leave the ship… I was stumbled by that too, but I'm not giving up that easily… 😅 #AdventOfCode
3
Well, this one kick my butt. Didn't fully grasp the inverse mutliplicator idea around CRT. Got it done with simple sieving. Hope there won't be any more math this year. :( I've completed "Shuttle Search" - Day 13 - Advent of Code 2020 adventofcode.com/2020/day/13 #AdventOfCode
3
I can't tell you how rewarding it feels seeing yourself in first 1000 after twisting your mind with those rotations and thinking, ugh, why am I so slow… Turns out I'm not :) I just completed "Rain Risk" - Day 12 - Advent of Code 2020 adventofcode.com/2020/day/12 #AdventOfCode
1
1
This looked pretty simple, but I made a mistake somewhere (still havent found) and was repeatedly getting right answer on test input and wrong one on puzzle. Lost a lot of time I just completed "Seating System" - Day 11 - Advent of Code 2020 adventofcode.com/2020/day/11 #AdventOfCode
1
2