News for hackers. Stuff that matters.
Re:Show HN: PyBites Code Challenges by christofosho on Sunday January 08, 2017 @08:07PM (#13353246)
I think I'll enjoy doing this. As a teacher with less free time, these tasks seem short and will keep my brain "puzzling" over code without the stress of a high priority project looming in the background.

So far I've got a time of around 1 second on the first challenge. It's nice to be able to practice my profiling and see how low I can get it!

Re:Show HN: PyBites Code Challenges by js2 on Sunday January 08, 2017 @08:11PM (#13353258)
Hint: python -c 'help(max)'
Re:Show HN: PyBites Code Challenges by alex- on Sunday January 08, 2017 @08:38PM (#13353355)
Good tip, I defaulted to using sorted which is almost as fast (but not quite)