This repository contains Python solutions to various algorithm design challenges.
- 3Sum With Multiplicity.py: Solution to the "3Sum With Multiplicity" problem.
- 4Sum II.py: Solution to the "4Sum II" problem.
- Diagonal Traverse.py: Solution to the "Diagonal Traverse" problem.
- K-diff Pairs.py: Solution to the "K-diff Pairs" problem.
- Longest Consecutive Sequence.py: Solution to the "Longest Consecutive Sequence" problem.
- Reshape the Matrix.py: Solution to the "Reshape the Matrix" problem.
- Rotate Image.py: Solution to the "Rotate Image" problem.
- Sieve of Eratosthenes.py: Solution to the "Sieve of Eratosthenes" problem.
- Spiral Matrix.py: Solution to the "Spiral Matrix" problem.
- Toeplitz Matrix.py: Solution to the "Toeplitz Matrix" problem.
Each Python file contains the solution to a specific problem. You can view the code and use it as needed.
Feel free to contribute by adding more solutions or improving existing ones!