re: AoC Day 2: Inventory Management System VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Node.js Common async generator. Read the file in chunk by chunk and yield each product ID based on new lines. // Generator // "abcdef\n+bababc...
 

Making hamming distance return common letters is a slick way to go. I was looking at the duplication between the hamming distance and common letters functionality in my solution and was a little bummed about it, but I couldn't figure out a good way to do it.

I like this!

code of conduct - report abuse