- I have checked the guide for contributions.
- I have added the description at the top of the solution file.
- I have added a test file for the problem.
- I have added an entry to the README file with a link to the new file.
- I have run linter (
npx eslint LeetcodeProblems LeetcodeProblemsTests
) and unit tests (node Test.js
) and they pass. More info.