So, As I said that I will be writing in the next post about STL hacks and tricks so here I am with this post. /* Important Note : STL: Standard Library ( To Import It Use: #include<bits/stdc++.h> ) Container types (and algorithms, functors, and all STL as well) are defined not in the global namespace, but in a special namespace called “std.” Add the following line after your includes and before the code begin: using namespace std; otherwise use: std::'container' */ You must have g++ compiler installed on your PC for using it. STL is mostly used by intermediate users of C++ and it is quite helpful in Competitive Coding, it saves a lot of time and all the algorithms are implemented with the best possible Time and Space Complexities available. STL is quite vast and we'll be step by step covering all of it, this post is a brief intro of : Containers Vector Pairs Iterators Set CONTAINERS In n...
Learn Coding For Free, Level Up Your Coding Skills, Prepare Mostly Asked Interview Questions, Developers Nest, Eat Sleep Code Repeat, Intensify Your Coding Skills