𓁟 host1.bitchan.one

+⧖>Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 22 hours and 37 minutes remain. >Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 22 hours and 37 minutes remain.
+⧖edition 1: >Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 lets hope eric does not phone it in this year edition 1: >Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 lets hope eric does not phone it in this year
𓀐 @Ruu~V2rq: interesting use of chunk_by. I usually use https://docs.rs/itertools/0.15.0/itertools/trait.Itertools.html#method.coalesce for something similar, but chunk_by seems to work the way I'd expect for this problem so I can drop it. thanks for the idiomatic solution, bro.

I guess dedup_with_count as well.

⧖expiring0/1 kept2d ago

𓀐 @mF2HZbxG

⏱ 2d 👍 0

⬆ upvote 0