forked from TheAlgorithms/JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 2806253
authored
merge: Upgrade max char (TheAlgorithms#983)
* feat: improved memoize function
used Map instead of object & used the JSON.stringfy method for generate a valid string as a key
* docs: modified documentation
* style: format with standard
* docs: modified stringify doc
* refactor: remove two repetition implementation
* feat: added validation, test codes
* chore: remove useless words
* feat: added types for jest
* chore: added link box
* feat: added new validation test casses & methods
* style: formated with standard
* feat: added parse method & test cases
* docs: added js docs
* chore: added default import export
* feat: imporved algorithm via replace method
* test: added two test cases
* feat: added jest type for suggestions
* feat: added `reduceRight` & `trim` method
* chore: added helper variable
* feat: added new rotation option
* Revert "chore: added helper variable"
This reverts commit 489544d.
* remove: yarn lock
* chore: fix grammer
* feat: used replace method & added test case
* feat: remove revert
* chore: added new line
* feat: added filter for alphabets only
* resolve: added empty validation improved ignore pattern
* chore: reverted to for of loop1 parent e447b55 commit 2806253
2 files changed
+41
-25
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | - | ||
4 | - | ||
5 | - | ||
6 | - | ||
7 | - | ||
8 | - | ||
9 | - | ||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
10 | 13 |
| |
11 | 14 |
| |
12 | - | ||
13 | - | ||
14 | - | ||
15 | - | ||
16 | - | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
17 | 22 |
| |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
24 | 30 |
| |
25 | - | ||
26 | - | ||
31 | + | ||
32 | + | ||
33 | + | ||
27 | 34 |
| |
28 | 35 |
| |
29 | - | ||
36 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
6 | 7 |
| |
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | - | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
10 | 15 |
| |
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
11 | 20 |
| |
12 | 21 |
|
0 commit comments