Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dzorz
on May 29, 2011
|
parent
|
context
|
favorite
| on:
N-Queen Problem: Python 2.6.5 vs PyPy 1.5.0
next_permutation is in standard library (header algorithm).
makmanalp
on May 29, 2011
[–]
For the curious, STL <algorithm> is one of those things that you wish you knew ages ago. Usually my code is much cleaner after I run through it and replace relevant parts of it with STL stuff.
http://www.cplusplus.com/reference/algorithm/
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: