𓁟 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.
𓀐 @8pqAgBxt: 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

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.

⧖expiring0/2 kept2d ago

𓀐 @Ruu~V2rq

⏱ 2d 👍 0

⬆ upvote 0

[⇥] sort oldest ⏱
filter [-]
𓀐 @mF2HZbxG: I guess dedup_with_count as well.+

⬆ upvote 0↩ reply 0