A collection of my HackerRank problem solutions implemented in 8 different programming languages.
| Language | Extension |
|---|---|
.c |
|
.cpp |
|
.go |
|
.js |
|
.php |
|
.py |
|
.r |
|
.rs |
├── Algoritms/
│ └── Warmup/
│ ├── 1_simple_array_sum/
│ │ ├── 1.c
│ │ ├── 1.cpp
│ │ ├── 1.go
│ │ ├── 1.js
│ │ ├── 1.php
│ │ ├── 1.py
│ │ ├── 1.r
│ │ └── 1.rs
│ ├── 2_a_very_big_sum/
│ │ ├── 2.c
│ │ ├── 2.cpp
│ │ ├── 2.go
│ │ ├── 2.js
│ │ ├── 2.php
│ │ ├── 2.py
│ │ ├── 2.r
│ │ └── 2.rs
│ └── ...
└── README.md
| # | Problem | Difficulty | C | C++ | Go | JS | PHP | Python | R | Rust |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Simple Array Sum | Easy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| 2 | A Very Big Sum | Easy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| 3 | Diagonal Difference | Easy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| 4 | Plus Minus | Easy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| 5 | Staircase | Easy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| Domain | Solved |
|---|---|
| Algoritms / Warmup | 5 |
Contributions are welcome! If you have a better solution or want to add solutions in other languages:
- Fork the repository
- Create your feature branch (
git checkout -b feature/new-solution) - Commit your changes (
git commit -m 'Add solution for problem X in language Y') - Push to the branch (
git push origin feature/new-solution) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Give a ⭐ if this project helped you!
Happy Coding! 💻