Manoj Mahalingam
manoj.dev
Manoj Mahalingam
@manoj.dev
Principal Engineer @Avalara

🇮🇳🇬🇧

Interested in LLMs at the moment. Leading low code adoption. #Scala #Python #Javascript #Kubernetes #Terraform #AWS #MachineLearning

💻 https://stacktoheap.com
🎥 https://youtube.com/manojlds
I just completed "Race Condition" - Day 20 - Advent of Code 2024

Running a bit behind. Very interesting problem for Day 20, where reading the problem correctly lets you make the right assumptions while solving the problem.

#Rust #AdventOfCode adventofcode.com/2024/day/20
December 23, 2024 at 2:18 AM
I just completed "Linen Layout" - Day 19 - Advent of Code 2024

Easier day with no challenge in extending for Part 2 as well.

#Rust #AdventOfCode adventofcode.com/2024/day/19
December 19, 2024 at 11:31 PM
I just completed "RAM Run" - Day 18 - Advent of Code 2024

Easier day with simple Dijkstra's again for Part 1 and a straightforward expansion for Part 2

#Rust #AdventOfCode adventofcode.com/2024/day/18
December 18, 2024 at 3:37 PM
I just completed "Chronospatial Computer" - Day 17 - Advent of Code 2024

Interesting part 2 today. Brute force definitely didn't work and had to look for patterns (and a bit of Reddit help) to identify the solution

#Rust #AdventOfCode adventofcode.com/2024/day/17
December 17, 2024 at 10:31 PM
I just completed "Reindeer Maze" - Day 16 - Advent of Code 2024 ✅

A bit delayed for day 16. Standard Dijkstra's/A* with having to track the paths for part 2

#Rust #AdventOfCode adventofcode.com/2024/day/16
December 17, 2024 at 10:03 AM
I just completed "Warehouse Woes" - Day 15 - Advent of Code 2024

Fun part 2 today and just had to visualize it

#Rust #AdventOfCode adventofcode.com/2024/day/15
December 16, 2024 at 1:45 AM
I just completed "Restroom Redoubt" - Day 14 - Advent of Code 2024

Tried part 2 with heuristics (had to go to reddit for this) and also LLMs. Took a dump of each state for 10000 ticks and passed to LLM to identify the tree.

#Rust #AdventOfCode adventofcode.com/2024/day/14
December 15, 2024 at 12:53 AM
#AdventOfCode Day 13: Claw Contraption
December 14, 2024 at 1:06 AM
I just completed "Claw Contraption" - Day 13 - Advent of Code 2024

More about the math than anything else. Didn't know about Cramer's rule (or forgot if I learnt it earlier) and then it's just a straightforward problem

#Rust #AdventOfCode adventofcode.com/2024/day/13
December 14, 2024 at 12:58 AM
"Garden Groups" - Day 12 - Advent of Code 2024

#AdventOfCode
December 13, 2024 at 3:04 AM
I just completed "Garden Groups" - Day 12 - Advent of Code 2024

#Rust #AdventOfCode adventofcode.com/2024/day/12
December 13, 2024 at 2:58 AM
I just completed "Plutonian Pebbles" Day 11 #AdventOfCode

This was such a fun problem. A very simple part1 and a expected complication in part2 that just has you rethink the solution. But once you do the, part2 is simple as well and something that just cannot run runs in ms. So satisfying!

#Rust
December 11, 2024 at 11:40 PM
Image for #AdventOfCode Day 10 😀

#Rust
December 11, 2024 at 12:08 AM
I just completed "Hoof It" - Day 10 - Advent of Code 2024

#Rust #AdventOfCode adventofcode.com/2024/day/10

Straightforward DFS and BFS
December 10, 2024 at 11:51 PM
I just completed "Disk Fragmenter" - Day 9 - Advent of Code 2024

A very fun problem! Missed some cases in part 2 and was interesting to change to accommodate them.

#Rust #AdventOfCode
December 10, 2024 at 2:59 AM
#Rust code for this is here - github.com/manojlds/adv...

Would love some feedback to make this more idiomatic and on the approach. Doing this part to make it reusable for part 1 and part 2 and feels a bit ugly:

#AdventOfCode
December 8, 2024 at 11:37 PM
I just completed "Resonant Collinearity" - Day 8 - Advent of Code 2024 ✅

Easier day with part1 being a special case of part 2 and easy to refactor.

#Rust #AdventOfCode adventofcode.com/2024/day/8
December 8, 2024 at 11:04 PM
I just completed "Bridge Repair" - Day 7 - Advent of Code 2024

Easier day with a fun problem and a straightforward expansion in part 2

#Rust #AdventOfCode adventofcode.com/2024/day/7
December 8, 2024 at 1:44 AM
I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024

Easier day compared to Day 5. And brute force all the way 😀

#Rust #AdventOfCode adventofcode.com/2024/day/6
December 7, 2024 at 1:27 AM
I just completed "Print Queue" - Day 5 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/5

This one was a doozy. Spent a lot of time with Part 2, trying to do a topological sort and then had to study the problem and the input again. Think I got a good enough solution since #Rust
December 6, 2024 at 2:39 AM
I just completed "Ceres Search" - Day 4 - Advent of Code 2024 #AdventOfCode #Rust

The grids begin 😀. Unusually, Part 2 was actually a special case and simpler than Part 1

adventofcode.com/2024/day/4
December 5, 2024 at 1:26 AM
I just completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode #Rust

adventofcode.com/2024/day/3
December 3, 2024 at 5:37 PM
Did part 2 in a simple but sub optimal way of just generating lists with one element dropped at a time and seeing if any of them are safe:

#Rust
December 3, 2024 at 12:38 AM
Solved part 1 with windows in #Rust
December 3, 2024 at 12:30 AM
I just completed "Red-Nosed Reports" - Day 2 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/2
December 3, 2024 at 12:25 AM