shritesh
Advent of Code 2023 - Day 7
I mapped both the cards and every possible hand to numeric values and sorted them. In part 2 I could only think of replacing the jokers with all unique values in the hand. There’s probably a better way.
Most Liked
seeplusplus
In part 2 I could only think of replacing the jokers with all unique values in the hand
Heh, better than I did, I just brute forced and tried every card possible
/shrug
https://github.com/seeplusplus/aoc-elixir/blob/main/lib/2023/day7.ex
pehbehbeh
I used DataFrames with Explorer for the first time today. May be overkill, but I learned a lot.
https://github.com/pehbehbeh/adventofcode/blob/main/2023/07.livemd
It was nice to be able to tinker directly in the results via LiveBook:
bjorng
Today’s puzzle was fun!
My solution:
https://github.com/bjorng/advent-of-code-2023/blob/main/day07/lib/day07.ex
Popular in Challenges
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









