cd javascript
node code.js
# | Title | Solution | Description |
---|---|---|---|
1 | Two Sum | JavaScript | |
9 | Palindrome Number | JavaScript | |
14 | Longest Common Prefix | JavaScript | |
20 | Valid Parentheses | JavaScript | |
21 | Merge Two Sorted Lists | JavaScript | |
26 | Remove Duplicates from Sorted Array | JavaScript | |
35 | Search Insert Position | JavaScript | |
53 | Maximum Subarray | JavaScript | 計算最大連續和,與 Lidemy LIOJ 1048 相關 |
58 | Length of Last Word | JavaScript | |
67 | Add Binary | JavaScript | |
70 | Climbing Stairs | JavaScript | |
88 | Merge Sorted Array | JavaScript | |
121 | Best Time to Buy and Sell Stock | JavaScript | |
168 | 168. Excel Sheet Column Title | JavaScript | |
268 | Missing Number | JavaScript | |
202 | Happy Number | JavaScript | |
322 | Coin Change | JavaScript |
Day | Topic | Problem | Solution | Description |
---|---|---|---|---|
1 | Closure | Create Hello World Function | JavaScript | !?(・_・;? |
2 | Closure | Counter | JavaScript | |
3 | Closure | Counter II | JavaScript | |
4 | Basic Array Transforms | Apply Transform Over Each Element in Array | JavaScript | |
5 | Basic Array Transforms | Filter Elements from Array | JavaScript | |
6 | Basic Array Transforms | Array Reduce Transformation | JavaScript | |
7 | Function input and Output | Function Composition | JavaScript | |
8 | Function input and Output | Allow One Function Call | ||
9 | Function input and Output | Memoize | ||
10 | Function input and Output | Curry | ||
11 | Promise | Sleep | ||
12 | Promise | Promise Time Limit | ||
13 | Promise | Promise Pool | ||
14 | Time (setTimeout) | Cache With Time Limit | ||
15 | Time (setTimeout) | Debounce | ||
16 | Time (setTimeout) | Throttle | ||
17 | JSON / Recursion / Important Utilities | JSON Deep Equal | ||
18 | JSON / Recursion / Important Utilities | Convert Object to JSON String | JavaScript | 實作簡單版 JSON.stringify() 功能 |
19 | JSON / Recursion / Important Utilities | Array of Objects to Matrix |