Skip to content

justinhj/adventofcode2021-day5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

Day 5 in Rust

Originally I put the points for each line in a hashmap but due to a problem with the input data I thought my code was broken when it wasn't. I rewrote the code instead to generate vectors of line segments. By sorting this then using itertools duplicates function I can get the duplicated points and count them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages