pleroma.debian.social

Advent of code 2022
After finishing yesterday, I spent some time on day 24 of AOC 2021 and I learned alot about rust. I just finished part 2 of day 3 and Im improving. I spent less time today fighting with the borrower.

My solution is here: https://git.sr.ht/~anjan/advent2022/tree/main/item/day3

Before looking at other people's solutions, I think I couldve concatenated and sorted the strings to speed it up. Excited to see how people solved this in one line on reddit :)

re: Advent of code 2022
Feel free to reply with your solutions or give me constructive criticsm. Im still learning.

I hope the CW for this post is ok.

#rust #rustlang
replies
0
announces
0
likes
0

re: Advent of code 2022
@cnx ohhhh, the hashmap idea is really good.

Nice. I didnt think of that.