Content

Sunday, July 26, 2020

Standard Template Library (STL) - Part II

Topics :


1. Set :


2. Multi-Set :


3. Map :


4. Multi-Map :


5. Pair :


6. Bit-set :


7. Sort :


*** Sort by second element of map :


8. Next_permutation :

next_permutation(a.begin(), a.end())
prev_permutation(a.begin(), a.end())

9. Reverse :

reverse(a.begin(), a.end())

*** Here let 'a' is a vector...

No comments:

Post a Comment