Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
technophilist authored Feb 25, 2023
2 parents 2343fa7 + 028d937 commit 552747a
Show file tree
Hide file tree
Showing 2,648 changed files with 33,742 additions and 11,729 deletions.
6 changes: 5 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[//]: # "Pull Request Template"
[//]: # "Replace the placeholder values in the template below"

- **File(s) Modified**: _1-Two-Sum.py, 2-Add-Two-Numbers.py, etc..._
- **File(s) Modified**: _0001-two-sum.py, 0002-add-two-numbers.py, etc..._
- **Language(s) Used**: _python, javascript, etc..._
- **Submission URL**: _https://leetcode.com/problems/[problem-name]/submissions/xxxxxxxxx/_

[//]: # "Getting the Submission URL"
[//]: # "Go to the leetcode [`Submissions tab`](https://user-images.githubusercontent.com/71089234/180188604-b1ecaf90-bf27-4fd6-a559-5567aebf8930.png)"
[//]: # "and [click on the `Accepted` status of your submission.](https://user-images.githubusercontent.com/71089234/180189321-1a48c33f-aa65-4b29-8aaa-685f4f5f8c9e.png)]"
[//]: # "Finally copy the URL from the nav bar, it should look like https://leetcode.com/problems/[problem-name]/submissions/xxxxxxxxx/"


### Important
Please make sure the file name is lowercase and a duplicate file does not already exist before merging.
3 changes: 2 additions & 1 deletion .github/workflows/updateCompletionTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const FOLDER_TO_LANG = {
swift: 'Swift',
cpp: 'C++',
kotlin: 'Kotlin',
dart: 'Dart',
};
const PREPEND_PATH = process.argv[2] || './';
const TEMPLATE_PATH = process.argv[3] || './README_template.md';
Expand Down Expand Up @@ -86,7 +87,7 @@ for (const problemCategory in PROBLEMS_OBJ) {
let filePath = nestedFilesInDir[dir].find((file) =>
file
.match(/[\w-]+\..+/)?.[0]
?.startsWith(problemNumber.toString())
?.startsWith(problemNumber)
);
if (filePath) {
problemRow.push(
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.DS_Store
.metals
.vscode
Loading

0 comments on commit 552747a

Please sign in to comment.