When you want to start competitive coding, one cannot go on writing each and every commonly used function scratch, rather smart idea is to use a library which includes standard functions.
One of such library is string.h where one can find many useful string related operations.
Similarly, standard template library contains
- Standard data structure, such as list, stack, queue , linked list etc
- Standard sorting algorithms
- Standard searching algorithms etc
Reference Link: