A collection of coding challenges to practice datastructures, algorithms and syntax from different programming languages.
The exercises are from Daily coding problems and Leetcode.
Difficulty chart:
- 🟩: Easy
- 🟦: Medium
- 🟥: Hard
- ⬛: Very Hard
| Problem Statement | Difficulty | Solution |
|---|---|---|
| Counting pairs that satisfy XOR condition | 🟩 | problem-332.cpp |
| 24 game | 🟩 | problem-334.cpp |
| Two sum | 🟩 | problem-1.cpp |
| Fibonacci sequence | 🟩 | problem-502.cpp |
Go to build folder
cd /coding_problems/build
Run cmake
cmake ..
Build files
make
Running the executable
./bin/name_of_executable