|
1 | 1 | # Algorithms-solutions
|
2 |
| -This folder contains Solutions to 10 Algorithms Leetcode problems that starts with '0-9' written in the following programming languages ( Javascript ,Python ,Java ,C++ ).<br><br> |
| 2 | +This folder contains Solutions to 10 Algorithms Leetcode problems that starts with '0-9' written in the following programming languages ( C++ ,Java ,Javascript ,Python ).<br><br> |
3 | 3 | ### Problems ###
|
4 | 4 | |problems|langages|difficulty|Leetcode|
|
5 | 5 | |:-------|:------:|:--------:|:------:|
|
6 |
| -|[01 Matrix](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/01%20Matrix/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/01%20Matrix/01%20Matrix.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/01%20Matrix/01%20Matrix.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/01%20Matrix/01%20Matrix.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/01%20Matrix/01%20Matrix.py)|Medium|[link](https://leetcode.com/problems/01-matrix)| |
7 |
| -|[1-bit and 2-bit Characters](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/1-bit%20and%202-bit%20Characters/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.py)|Easy|[link](https://leetcode.com/problems/1-bit-and-2-bit-characters)| |
8 |
| -|[132 Pattern](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/132%20Pattern/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/132%20Pattern/132%20Pattern.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/132%20Pattern/132%20Pattern.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/132%20Pattern/132%20Pattern.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/132%20Pattern/132%20Pattern.py)|Medium|[link](https://leetcode.com/problems/132-pattern)| |
9 |
| -|[2 Keys Keyboard](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/2%20Keys%20Keyboard/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.py)|Medium|[link](https://leetcode.com/problems/2-keys-keyboard)| |
10 |
| -|[24 Game](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/24%20Game/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/24%20Game/24%20Game.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/24%20Game/24%20Game.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/24%20Game/24%20Game.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/24%20Game/24%20Game.py)|Hard|[link](https://leetcode.com/problems/24-game)| |
11 |
| -|[3Sum](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum/3Sum.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum/3Sum.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum/3Sum.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum/3Sum.py)|Medium|[link](https://leetcode.com/problems/3sum)| |
12 |
| -|[3Sum Closest](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20Closest/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.py)|Medium|[link](https://leetcode.com/problems/3sum-closest)| |
13 |
| -|[3Sum With Multiplicity](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20With%20Multiplicity/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.py)|Medium|[link](https://leetcode.com/problems/3sum-with-multiplicity)| |
14 |
| -|[4Sum](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum/4Sum.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum/4Sum.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum/4Sum.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum/4Sum.py)|Medium|[link](https://leetcode.com/problems/4sum)| |
15 |
| -|[4Sum II](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum%20II/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum%20II/4Sum%20II.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum%20II/4Sum%20II.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum%20II/4Sum%20II.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/algorithms/0-9/4Sum%20II/4Sum%20II.py)|Medium|[link](https://leetcode.com/problems/4sum-ii)| |
| 6 | +|[01 Matrix](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/01%20Matrix/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/01%20Matrix/01%20Matrix.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/01%20Matrix/01%20Matrix.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/01%20Matrix/01%20Matrix.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/01%20Matrix/01%20Matrix.py)|Medium|[link](https://leetcode.com/problems/01-matrix)| |
| 7 | +|[1-bit and 2-bit Characters](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/1-bit%20and%202-bit%20Characters/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/1-bit%20and%202-bit%20Characters/1-bit%20and%202-bit%20Characters.py)|Easy|[link](https://leetcode.com/problems/1-bit-and-2-bit-characters)| |
| 8 | +|[132 Pattern](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/132%20Pattern/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/132%20Pattern/132%20Pattern.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/132%20Pattern/132%20Pattern.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/132%20Pattern/132%20Pattern.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/132%20Pattern/132%20Pattern.py)|Medium|[link](https://leetcode.com/problems/132-pattern)| |
| 9 | +|[2 Keys Keyboard](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/2%20Keys%20Keyboard/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/2%20Keys%20Keyboard/2%20Keys%20Keyboard.py)|Medium|[link](https://leetcode.com/problems/2-keys-keyboard)| |
| 10 | +|[24 Game](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/24%20Game/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/24%20Game/24%20Game.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/24%20Game/24%20Game.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/24%20Game/24%20Game.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/24%20Game/24%20Game.py)|Hard|[link](https://leetcode.com/problems/24-game)| |
| 11 | +|[3Sum](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum/3Sum.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum/3Sum.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum/3Sum.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum/3Sum.py)|Medium|[link](https://leetcode.com/problems/3sum)| |
| 12 | +|[3Sum Closest](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20Closest/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20Closest/3Sum%20Closest.py)|Medium|[link](https://leetcode.com/problems/3sum-closest)| |
| 13 | +|[3Sum With Multiplicity](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20With%20Multiplicity/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/3Sum%20With%20Multiplicity/3Sum%20With%20Multiplicity.py)|Medium|[link](https://leetcode.com/problems/3sum-with-multiplicity)| |
| 14 | +|[4Sum](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum/4Sum.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum/4Sum.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum/4Sum.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum/4Sum.py)|Medium|[link](https://leetcode.com/problems/4sum)| |
| 15 | +|[4Sum II](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum%20II/)|[C++](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum%20II/4Sum%20II.cpp), [Java](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum%20II/4Sum%20II.java), [Javascript](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum%20II/4Sum%20II.js), [Python](https://github.com/AnasImloul/Leetcode-solutions/tree/main/scripts/algorithms/0-9/4Sum%20II/4Sum%20II.py)|Medium|[link](https://leetcode.com/problems/4sum-ii)| |
0 commit comments