- Bit Manipulation
- Sorting
- Searching
- Two Pointers
- Greedy
- Recursion
- Backtracking
- Dynamic Programming
- Stacks & Queues - Different type of queues: Deque, Circular queue
- Heaps - Priority_Queue ( Min, Max )
- Graphs
- Combinatorics
- Number theory & Math
- Fibonacci and Primes
Add below configurations to settings.json for code runner extension to delete binaries after execution.
- Linux:
"code-runner.executorMap": {
// -lm flag for linking c file with libm (will enable use of math.h in VsCode)
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt -lm && $dir$fileNameWithoutExt && rm $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt && rm $dir$fileNameWithoutExt"
// "cpp":"cd $dir && g++ -std=c++17 $fileName -o $fileNameWithoutExt.exe && $dir$fileNameWithoutExt && del $dir$fileNameWithoutExt.exe"
}- Windows:
"code-runner.executorMap": {
// -lm flag for linking c file with libm (will enable use of math.h in VsCode)
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt.exe -lm && .\\$dir$fileNameWithoutExt.exe && del $dir$fileNameWithoutExt.exe",
"cpp":"cd $dir && g++ -std=c++17 $fileName -o $fileNameWithoutExt.exe && .\\$dir$fileNameWithoutExt.exe && del $dir$fileNameWithoutExt.exe"
}