Šimon Tóth’s Post

View profile for Šimon Tóth

C++ Educational Content Creator | 20 years of Software Engineering experience distilled into digestible daily posts

The std::next_permutation and std::prev_permutation algorithms reorder elements of a range into the next/previous lexicographical permutation. If no such permutation exists, both algorithms roll over and return false. Compiler Explorer link: https://lnkd.in/eJzuEnNb #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text

To view or add a comment, sign in

Explore content categories