Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The Python version seems to be using an interpreter that frankly just doesn't work:

  NameError: name 'reduce' is not defined


If it's python3, the previously built-in reduce() has been relegated to the functools module. But I don't think this is python 3.

I'm not sure what it is, but I know I don't like "guess which subset of the language you get" being harder than actually solving the algorithms challenges.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: