i have never used this function sort() and i dont even know whats its syntax is and where to use it
Sort function in algorithm.h
Hello @kshitiz_joshi,
Sort() function is inbuilt general-purpose template function used for sorting sequence of values.
You can refer to this link for a detailed explanation:
Hope, this would help.
Give a like, if you are satisfied.