Skip to content

Commit 95d0b3e

Browse files
authored
Start a workspace for the JavaScript LeetCode month! (#398)
1 parent 3d04254 commit 95d0b3e

File tree

8 files changed

+91
-0
lines changed

8 files changed

+91
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"workspaces/fetch-leetcode-problem-list",
1313
"workspaces/fetch-recent-accepted-leetcode-submissions",
1414
"workspaces/generate-health-report",
15+
"workspaces/javascript-leetcode-month",
1516
"workspaces/leetcode-api",
1617
"workspaces/post-leetcode-potd-to-discord",
1718
"workspaces/repository-scripts",
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# JavaScript LeetCode month!
2+
3+
This directory contains the resources for the month of JavaScript on LeetCode, announced [here](https://www.linkedin.com/posts/miorel_javascript-group-learning-interest-form-activity-7235301944875999232-AEeG).
4+
5+
## Problem Order
6+
7+
1. [2703. Return Length of Arguments Passed](https://leetcode.com/problems/return-length-of-arguments-passed/)
8+
2. [2727. Is Object Empty](https://leetcode.com/problems/is-object-empty/)
9+
3. [2677. Chunk Array](https://leetcode.com/problems/chunk-array/)
10+
4. [2635. Apply Transform Over Each Element in Array](https://leetcode.com/problems/apply-transform-over-each-element-in-array/)
11+
5. [2634. Filter Elements from Array](https://leetcode.com/problems/filter-elements-from-array/)
12+
6. [2724. Sort By](https://leetcode.com/problems/sort-by/)
13+
7. [2626. Array Reduce Transformation](https://leetcode.com/problems/array-reduce-transformation/)
14+
8. [2726. Calculator with Method Chaining](https://leetcode.com/problems/calculator-with-method-chaining/)
15+
9. [2625. Flatten Deeply Nested Array](https://leetcode.com/problems/flatten-deeply-nested-array/)
16+
10. [2667. Create Hello World Function](https://leetcode.com/problems/create-hello-world-function/)
17+
11. [2620. Counter](https://leetcode.com/problems/counter/)
18+
12. [2665. Counter II](https://leetcode.com/problems/counter-ii/)
19+
13. [2666. Allow One Function Call](https://leetcode.com/problems/allow-one-function-call/)
20+
14. [2704. To Be Or Not To Be](https://leetcode.com/problems/to-be-or-not-to-be/)
21+
15. [2619. Array Prototype Last](https://leetcode.com/problems/array-prototype-last/)
22+
16. [2631. Group By](https://leetcode.com/problems/group-by/)
23+
17. [2624. Snail Traversal](https://leetcode.com/problems/snail-traversal/)
24+
18. [2722. Join Two Arrays by ID](https://leetcode.com/problems/join-two-arrays-by-id/)
25+
19. [2629. Function Composition](https://leetcode.com/problems/function-composition/)
26+
20. [2695. Array Wrapper](https://leetcode.com/problems/array-wrapper/)
27+
21. [2705. Compact Object](https://leetcode.com/problems/compact-object/)
28+
22. [2648. Generate Fibonacci Sequence](https://leetcode.com/problems/generate-fibonacci-sequence/)
29+
23. [2649. Nested Array Generator](https://leetcode.com/problems/nested-array-generator/)
30+
24. [2621. Sleep](https://leetcode.com/problems/sleep/)
31+
25. [2715. Timeout Cancellation](https://leetcode.com/problems/timeout-cancellation/)
32+
26. [2725. Interval Cancellation](https://leetcode.com/problems/interval-cancellation/)
33+
27. [2622. Cache With Time Limit](https://leetcode.com/problems/cache-with-time-limit/)
34+
28. [2627. Debounce](https://leetcode.com/problems/debounce/)
35+
29. [2623. Memoize](https://leetcode.com/problems/memoize/)
36+
30. [2694. Event Emitter](https://leetcode.com/problems/event-emitter/)
37+
31. [2723. Add Two Promises](https://leetcode.com/problems/add-two-promises/)
38+
32. [2637. Promise Time Limit](https://leetcode.com/problems/promise-time-limit/)
39+
33. [2721. Execute Asynchronous Functions in Parallel](https://leetcode.com/problems/execute-asynchronous-functions-in-parallel/)
40+
34. [2650. Design Cancellable Function](https://leetcode.com/problems/design-cancellable-function/)
41+
35. [2618. Check if Object Instance of Class](https://leetcode.com/problems/check-if-object-instance-of-class/)
42+
36. [2693. Call Function with Custom Context](https://leetcode.com/problems/call-function-with-custom-context/)
43+
37. [2630. Memoize II](https://leetcode.com/problems/memoize-ii/)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@code-chronicles/eslint-config";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// no-op file so that `yarn typecheck` has a file to check
2+
3+
console.log("hi");
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "@code-chronicles/javascript-leetcode-month",
3+
"version": "0.0.1",
4+
"license": "MIT",
5+
"private": false,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/code-chronicles-code/leetcode-curriculum.git",
9+
"directory": "workspaces/javascript-leetcode-month"
10+
},
11+
"author": {
12+
"name": "Miorel-Lucian Palii",
13+
"url": "https://github.com/miorel"
14+
},
15+
"scripts": {
16+
"format": "prettier --color --write .",
17+
"lint": "eslint --color --max-warnings=0 .",
18+
"typecheck": "tsc --pretty --project ."
19+
},
20+
"devDependencies": {
21+
"@code-chronicles/eslint-config": "0.0.1",
22+
"@types/node": "22.5.1",
23+
"eslint": "9.9.1",
24+
"prettier": "3.3.3",
25+
"typescript": "5.5.4"
26+
}
27+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../../tsconfig-base.json"
3+
}

workspaces/repository-scripts/src/scripts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export const SCRIPTS_TO_SKIP_BY_WORKSPACE: Readonly<
7474
"fetch-leetcode-problem-list": new Set(["test"]),
7575
"fetch-recent-accepted-leetcode-submissions": new Set(["test"]),
7676
"generate-health-report": new Set(["test"]),
77+
"javascript-leetcode-month": new Set(["test"]),
7778
"leetcode-api": new Set(["test"]),
7879
"post-leetcode-potd-to-discord": new Set(["test"]),
7980
"repository-scripts": new Set(["test"]),

yarn.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)