A playground to test out C++ features and libraries.
To run any of the programs you can use the make dev
command passing the file
parameter. This will build the program and run it.
make dev file=binary_search
- Arrays: A program to test out arrays, for loops and pointers in C++.
- Binary Search: A recursive binary search implementation.
- Counting Sort: A counting sort implementation.
- GCD: A program to calculate the greatest common divisor of two numbers.
- Graphs: A program that, given a graph, checks if it is connected (Using DFS) and the distance between two vertexes (Using BFS).
- Guess The Number: A simple game to guess a number.
- Insertion Sort: An insertion sort implementation.
- Max: A program that finds the maximum number in an array, both recursive and iterative.
- Merge Sort: A merge sort implementation.
- Selection Sort: A selection sort implementation.
- Strings: A program to test out strings in C++.
The Utils file contains some helper functions to make the programs more readable.