Manoj Mahalingam's Avatar

Manoj Mahalingam

@manoj.dev.bsky.social

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

243 Followers  |  91 Following  |  261 Posts  |  Joined: 23.04.2023  |  2.3038

Latest posts by manoj.dev on Bluesky

Post image

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

23.12.2024 02:18 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

#Rust code is here

github.com/manojlds/adv...

Did it with simple recursion and memoization

19.12.2024 23:33 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

19.12.2024 23:31 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

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

18.12.2024 15:37 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have used Z3 before but would have never thought it's applicable here. Interesting approach.

17.12.2024 23:24 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
advent_of_code/src/days/day17 at main ยท manojlds/advent_of_code Advent of Code 2024 in Rust. Contribute to manojlds/advent_of_code development by creating an account on GitHub.

Z3 as in Z3 Solver? Interesting, will check out your solution.

This is mine btw - github.com/manojlds/adv...

17.12.2024 22:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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

17.12.2024 22:31 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

17.12.2024 10:03 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

#Rust code for #AdventOfCode Day 15 is here - github.com/manojlds/adv...

16.12.2024 02:00 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

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

16.12.2024 01:45 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image Post image

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

15.12.2024 00:53 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

#AdventOfCode Day 13: Claw Contraption

14.12.2024 01:06 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

14.12.2024 00:58 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
advent_of_code/src/days/day12 at main ยท manojlds/advent_of_code Advent of Code 2024 in Rust. Contribute to manojlds/advent_of_code development by creating an account on GitHub.

#Rust code is here - github.com/manojlds/adv...

13.12.2024 03:05 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"Garden Groups" - Day 12 - Advent of Code 2024

#AdventOfCode

13.12.2024 03:04 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

I just completed "Garden Groups" - Day 12 - Advent of Code 2024

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

13.12.2024 02:58 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

#Rust code is here

github.com/manojlds/adv...

#AdventOfCode

12.12.2024 00:00 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

11.12.2024 23:39 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

I knew what Part 2 was going to do as soon as I saw how simple Part 1 was ๐Ÿ˜€ #adventofcode Day 11

11.12.2024 22:40 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Image for #AdventOfCode Day 10 ๐Ÿ˜€

#Rust

11.12.2024 00:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

#Rust code for #AdventOfCode Day 10 is here

github.com/manojlds/adv...

11.12.2024 00:06 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

I just completed "Hoof It" - Day 10 - Advent of Code 2024

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

Straightforward DFS and BFS

10.12.2024 23:51 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

#Rust code for #AdventOfCode Day 9 is here - github.com/manojlds/adv...

10.12.2024 03:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

10.12.2024 02:59 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

#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

08.12.2024 23:37 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

08.12.2024 23:04 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

#Rust code for Advent of Code Day 7 is here

github.com/manojlds/adv...

Went with a recursive approach that was straightforward enough to expand for part 2

#AdventOfCode

08.12.2024 01:47 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

08.12.2024 01:44 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

#Rust code for Day 6 of #AdventOfCode is here - github.com/manojlds/adv...

07.12.2024 01:28 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

07.12.2024 01:27 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

@manoj.dev is following 19 prominent accounts