You are browsing as a guest. Sign up (or log in) to start making projects!

3h 29m 25s logged

I spent the last 3.5 hours making a single puzzle. It’s the hardest puzzle yet and took the most time to create, and by a lot.

The puzzle is called Headcount, and it involves extracting a total count from a deeply-nested data object. I considered using nested arrays instead, but that would have a pretty trivial solution: return input.flat(Infinity).length. JS has far fewer built-in utilities for manipulating objects than it does for arrays, so I figured that using objects would pose more of a challenge, which I think it does.

You can play the new puzzle here: https://ethmarks.github.io/nolet/headcount.

0
6

Comments 0

No comments yet. Be the first!