-
Pre-processor derivative:
# include<bits/stdc++.h>
,#include<iostream>
-
standard library usage:
using namespace std;
-
important data types:
- vector:
vector\<int\> v;
- unordered map: `unordered_map<string, int> umap;
- ordered map:
map<int, int> order;
- vector:
-
Operations on vector:
v.push_back(x);
,v.pop_back();
-
output all the vector elements:
for(int i = 0; i < v.size(); i++) cout<<v[i]<<"\n";
-
sort:
sort(v.begin(), v.end());
-
Notifications
You must be signed in to change notification settings - Fork 3
Tanmay-901/Cpp-Algorithms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Algorithms with better Time and Space complexity.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published