Anonymous user
Talk:Next highest int from digits: Difference between revisions
Talk:Next highest int from digits (view source)
Revision as of 11:56, 21 February 2020
, 4 years ago→Next_permutation
Line 25:
I had fun updating it, but needed the random test framework to flush out errors.<br>
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:12, 21 February 2020 (UTC)
==Next_permutation==
Someone on Reddit r/coding posted a cryptic `std::next_permutation()`. Some searching shows that if it produces the next lexicographic permutation thn it is doing all the heavy lifting! [https://www.nayuki.io/page/next-lexicographical-permutation-algorithm Try this explanation]. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:52, 21 February 2020 (UTC)
|