Welcome to the LeetCode repository! This collection focuses on problems related to matrices and strings, organized under the "topics" directory. Whether you're honing your problem-solving skills, preparing for coding interviews, or simply interested in algorithmic challenges, this repository has you covered.
-
Matrix Rotation: Rotate a given matrix 90 degrees clockwise.
-
Matrix Transpose: Find the transpose of a given matrix.
-
Spiral Order Matrix: Traverse a matrix in a spiral order.
-
Reverse String: Reverse a given string.
-
Anagram Check: Determine if two strings are anagrams.
-
Longest Substring Without Repeating Characters: Find the length of the longest substring without repeating characters.
-
Clone the Repository:
git clone https://github.com/4nskarts/leetcode.git
-
Navigate to the "topics" Directory:
cd leetcode/topics
-
Explore and Solve: Browse through the "matrices" and "strings" directories to find the problem statements and their corresponding Pascal solutions. Challenge yourself to solve the problems independently.
-
Contribute: Feel free to contribute your own solutions or improvements. Your contributions can help fellow learners understand different approaches to solving problems.
- Fork the repository.
- Create a new branch for your changes.
- Implement your solution in Pascal.
- Ensure your code follows a clean and readable structure.
- Submit a pull request.
If you have any questions, feedback, or suggestions, feel free to open an issue. Happy coding!
Note: The problems and solutions provided in this repository are for educational purposes. They AREN'T necessarily all correct. Ensure you understand the concepts and try to solve the problems independently before referring to the POTENTIAL solutions.