Hacker News new | ask | show | jobs
by EduardoBautista 3518 days ago
From my experience, they weren't puzzles. They were pretty straightforward to do if you are familiar with arrays and hashes/dictionaries and when to use which.
1 comments

Mine were different, the solution to one was literally "return len(x) - x.count(a)". If you didn't realize that, you spent an hour battling off-by-one errors.