-
Notifications
You must be signed in to change notification settings - Fork 3
Leetcode Daily Problems
Welcome to the wiki for my LeetCode and Daily Coding Problems repository! This repository contains solutions to various LeetCode problems in Python, Java, JavaScript, C, and C++. Additionally, there are solutions to daily coding problems that are posted to the repository.
- Problem List
- Problem Descriptions
- Approach
- Code Explanation
- Complexity Analysis
- Testing
- Contributions
- Resources
Here is a list of all the LeetCode problems and daily coding problems included in this repository:
- Two Sum (Python, Java, JavaScript, C, C++)
- Reverse Integer (Python, Java, JavaScript, C, C++)
- Valid Parentheses (Python, Java, JavaScript, C, C++)
- Daily Problem 1 (Python)
For each problem, a brief description of the problem statement and any relevant details are included. Click on the problem link to see the full description on the LeetCode website. I have also included my thought process behind each problem, including any assumptions I made and any challenges I faced.
This section describes the approach I used to solve the problems, including any algorithms, data structures, or techniques I used. For each problem, I have provided multiple solutions using different approaches, highlighting the pros and cons of each approach. This section also includes details on the implementation of the solutions, such as language-specific quirks and libraries used.
In this section, I provide a step-by-step explanation of my code, highlighting any key points or challenges I encountered. I have included comments in the code to help explain the logic and thought process behind each solution.
This section includes an analysis of the time and space complexity of my solution, along with any optimization strategies I used. For each solution, I have provided a detailed explanation of the time and space complexity, including any worst-case scenarios and trade-offs made in the implementation.
To help users understand how my code works, I include sample inputs and outputs and explain how I tested my code. For each solution, I have provided a list of test cases used to verify the correctness of the solution. I also explain how I came up with the test cases and any edge cases that were considered.
If you are interested in contributing to this repository, please see the contributing guidelines for instructions on how to submit pull requests and contribute to the wiki. Contributions are always welcome, and I encourage anyone who has solved a LeetCode problem or a daily coding problem to share their solution and thought process.
Finally, in this section, I include links to external resources that I found helpful in solving the problems, such as LeetCode official solutions, blog posts, or videos. These resources may provide additional context or explanation on certain topics related to the problems.
Thank you for visiting my LeetCode and Daily Coding Problems repository! I hope you find these solutions helpful in your own coding journey.