Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 22972c3

Browse files
Merge pull request #93 from amejiarosario/feat/linkedlist
LinkedList chapter improvements
2 parents 0e12523 + 571834a commit 22972c3

Some content is hidden

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

43 files changed

+973
-377
lines changed

‎.eslintrc.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
11
module.exports = {
22
extends: 'airbnb-base',
33
env: {
4-
jest: true
4+
jest: true,
55
},
6+
plugins: ['jest'],
67
globals: {
78
BigInt: true,
89
},
10+
11+
// check package.json for files to include
12+
// files: ['src/**/*.js', 'book/interview-questions/*.js'],
13+
914
rules: {
1015
// https://github.com/airbnb/javascript/issues/1089
1116

1217
// https://stackoverflow.com/a/35637900/684957
1318
// allow to add properties to arguments
14-
'no-param-reassign': [2, { 'props': false }],
19+
'no-param-reassign': [2, { props: false }],
1520

1621
// https://eslint.org/docs/rules/no-plusplus
1722
// allows unary operators ++ and -- in the afterthought (final expression) of a for loop.
18-
'no-plusplus': [0, { 'allowForLoopAfterthoughts': true }],
23+
'no-plusplus': [0, { allowForLoopAfterthoughts: true }],
1924
'no-continue': [0],
2025

2126
// Allow for..of
2227
'no-restricted-syntax': [0, 'ForOfStatement'],
23-
}
28+
29+
// jest plugin
30+
// 'jest/no-disabled-tests': 'warn',
31+
'jest/no-focused-tests': 'error',
32+
'jest/no-identical-title': 'warn',
33+
'jest/valid-expect': 'warn',
34+
},
2435
};

‎book/content/part02/linked-list.asc

Lines changed: 291 additions & 12 deletions
Large diffs are not rendered by default.

‎book/images/Find-the-largest-sum.png

-418 Bytes
Loading[フレーム]
1.18 KB
Loading[フレーム]

‎book/images/Words-Permutations.png

4.2 KB
Loading[フレーム]

‎book/images/cll-fast-slow-pointers.png

137 KB
Loading[フレーム]

‎book/images/cll.png

70.5 KB
Loading[フレーム]
-3.69 KB
Loading[フレーム]
-1.42 KB
Loading[フレーム]

‎book/images/critical-path-examples.png

-1.38 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /