Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9041bf

Browse files
authored
Merge branch 'neetcode-gh:main' into main
2 parents 0d68e1a + afb94e9 commit b9041bf

File tree

2,111 files changed

+32073
-2071
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,111 files changed

+32073
-2071
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
- **File(s) Modified**: _1-Two-Sum.py, 2-Add-Two-Numbers.py, etc..._
55
- **Language(s) Used**: _python, javascript, etc..._
6-
- **Submission URL**: _https://leetcode.com/submissions/detail/xxxxxxxxx/_
6+
- **Submission URL**: _https://leetcode.com/problems/[problem-name]/submissions/xxxxxxxxx/_
77

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

.github/workflows/build-readme.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,23 @@ jobs:
1010
Build:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [16.x]
16-
1713
steps:
1814
- uses: actions/checkout@v3
1915
with:
2016
ref: ${{ github.head_ref }}
2117
fetch-depth: 1
2218

2319
- name: Use Node.js (dependency)
24-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 16
2723

2824
- name: Completion Table
2925
run: node ./.github/workflows/updateCompletionTable.js;
3026

3127
- name: Check for modified files
3228
id: git-check
33-
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
29+
run: echo modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT
3430

3531
- name: Push
3632
if: steps.git-check.outputs.modified == 'true'

.github/workflows/stale.yml renamed to .github/workflows/stale._yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
repo-token: ${{ secrets.GITHUB_TOKEN }}
2525
stale-issue-message: 'Stale issue message'
2626
stale-pr-message: 'Stale pull request message'
27-
stale-issue-label: 'no-issue-activity'
28-
stale-pr-label: 'no-pr-activity'
27+
stale-issue-label: 'stale'
28+
stale-pr-label: 'stale'
2929
days-before-stale: 30
3030
days-before-close: 7
31-
days-before-issue-stale: 90
31+
days-before-issue-stale: 900
3232
exempt-milestones: true
3333
exempt-pr-labels: 'pending'

.github/workflows/updateCompletionTable.js

Lines changed: 59 additions & 541 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)