This repository contains solutions to problems from LeetCode written in Dart. The problems are organized according to the neetCode roadmap. Each problem has its own directory containing a Dart solution file, a description file with the LeetCode problem description and link, and a solution file with the solution's intuition, approach, complexity analysis, and code.
Disclaimer: The solution files in this repository contain written explanations (intuition, approach, complexity analysis) generated by GPT-3, an artificial intelligence language model developed by OpenAI. While every effort has been made to ensure the accuracy of the explanations, they may contain errors or omissions.
To find the solution to a specific problem, navigate to the problem's directory in the repository. The directory will contain the following files:
<problem name>
.dart: the Dart solution file- description.md: the LeetCode problem description and link
- solution.md: the solution's intuition, approach, complexity analysis, and code
The test file for each problem is located in the test
directory and is named after the problem with a z suffix. To run the tests for a specific problem, use the following command:
dart test/`<problem name>`_test.dart
If you would like to contribute to the repository, you can submit a pull request with a new solution for a problem or report an issue if you've found a bug.
I hope you find this repository helpful in your problem solving journey!