max, next_permutation, min, swap, reverse
all these functions are valid for all types of container or only for sequential containers???
All these functions are valid for all types of container or only for sequential containers?
hello @anujsharmabadboy
no u cant use them with all type of containers.
most of them works with array or vector .
swap also work for stack and vector (like u can swap two vetors or two stack using swap function)