KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
leetcode-js
★ 64
Open GitHub ↗
LeetCode problems with JS
Download README (.md)
Explore Similar Repositories
LeetCode
:
LeetCode 经典题目(JavaScript 实现)
leetcode
:
Mastering leetcode using simple javaScript.
Leetcode-JS-Solutions
:
:tropical_drink: Leetcode solutions using JavaScript.
leetcode
:
leetcode刷题 算法练习 JavaScript实现
life-is-moment
:
📕个人博客, 喜欢react的可以关注一下 ~
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
leetcode-js
?
Download (.md)
# LeetCode-JS **最近更新** - [885. Spiral Matrix III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0885-spiral-matrix-iii.js) - [889. Construct Binary Tree from Preorder and Postorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0889-construct-binary-tree-from-preorder-and-postorder-traversal.js) - [890. Find and Replace Pattern](https://github.com/zhufuge/leetcode-js/blob/master/problems/0890-find-and-replace-pattern.js) - [894. All Possible Full Binary Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0894-all-possible-full-binary-trees.js) - [912. Sort an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0912-sort-an-array.js) - [20. Valid Parentheses](https://github.com/zhufuge/leetcode-js/blob/master/problems/0020-valid-parentheses.js) - [921. Minimum Add to Make Parentheses Valid](https://github.com/zhufuge/leetcode-js/blob/master/problems/0921-minimum-add-to-make-parentheses-valid.js) <!-- more --> <h3 style="text-align:center;border:none;">完成列表(444)</h3> | # | Title | difficulty | |----:|-------|:-----------| | 1 | [Two Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0001-two-sum.js) | Easy | | 2 | [Add Two Numbers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0002-add-two-numbers.js) | Medium | | 3 | [Longest Substring Without Repeating Characters](https://github.com/zhufuge/leetcode-js/blob/master/problems/0003-longest-substring-without-repeating-characters.js) | Medium | | 4 | [Median of Two Sorted Arrays](https://github.com/zhufuge/leetcode-js/blob/master/problems/0004-median-of-two-sorted-arrays.js) | Hard | | 5 | [Longest Palindromic Substring](https://github.com/zhufuge/leetcode-js/blob/master/problems/0005-longest-palindromic-substring.js) | Medium | | 6 | [ZigZag Conversion](https://github.com/zhufuge/leetcode-js/blob/master/problems/0006-zigzag-conversion.js) | Medium | | 7 | [Reverse Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/0007-reverse-integer.js) | Easy | | 8 | [String to Integer (atoi)](https://github.com/zhufuge/leetcode-js/blob/master/problems/0008-string-to-integer-atoi.js) | Medium | | 9 | [Palindrome Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0009-palindrome-number.js) | Easy | | 10 | [Regular Expression Matching](https://github.com/zhufuge/leetcode-js/blob/master/problems/0010-regular-expression-matching.js) | Hard | | 11 | [Container With Most Water](https://github.com/zhufuge/leetcode-js/blob/master/problems/0011-container-with-most-water.js) | Medium | | 12 | [Integer to Roman](https://github.com/zhufuge/leetcode-js/blob/master/problems/0012-integer-to-roman.js) | Medium | | 13 | [Roman to Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/0013-roman-to-integer.js) | Easy | | 14 | [Longest Common Prefix](https://github.com/zhufuge/leetcode-js/blob/master/problems/0014-longest-common-prefix.js) | Easy | | 15 | [3Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0015-3sum.js) | Medium | | 16 | [3Sum Closest](https://github.com/zhufuge/leetcode-js/blob/master/problems/0016-3sum-closest.js) | Medium | | 17 | [Letter Combinations of a Phone Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0017-letter-combinations-of-a-phone-number.js) | Medium | | 19 | [Remove Nth Node From End of List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0019-remove-nth-node-from-end-of-list.js) | Medium | | 20 | [Valid Parentheses](https://github.com/zhufuge/leetcode-js/blob/master/problems/0020-valid-parentheses.js) | Easy | | 21 | [Merge Two Sorted Lists](https://github.com/zhufuge/leetcode-js/blob/master/problems/0021-merge-two-sorted-lists.js) | Easy | | 22 | [Generate Parentheses](https://github.com/zhufuge/leetcode-js/blob/master/problems/0022-generate-parentheses.js) | Medium | | 23 | [Merge k Sorted Lists](https://github.com/zhufuge/leetcode-js/blob/master/problems/0023-merge-k-sorted-lists.js) | Hard | | 24 | [Swap Nodes in Pairs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0024-swap-nodes-in-pairs.js) | Medium | | 25 | [Reverse Nodes in k-Group](https://github.com/zhufuge/leetcode-js/blob/master/problems/0025-reverse-nodes-in-k-group.js) | Hard | | 26 | [Remove Duplicates from Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0026-remove-duplicates-from-sorted-array.js) | Easy | | 27 | [Remove Element](https://github.com/zhufuge/leetcode-js/blob/master/problems/0027-remove-element.js) | Easy | | 28 | [Implement strStr()](https://github.com/zhufuge/leetcode-js/blob/master/problems/0028-implement-strstr.js) | Easy | | 31 | [Next Permutation](https://github.com/zhufuge/leetcode-js/blob/master/problems/0031-next-permutation.js) | Medium | | 32 | [Longest Valid Parentheses](https://github.com/zhufuge/leetcode-js/blob/master/problems/0032-longest-valid-parentheses.js) | Hard | | 33 | [Search in Rotated Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0033-search-in-rotated-sorted-array.js) | Medium | | 34 | [Find First and Last Position of Element in Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0034-find-first-and-last-position-of-element-in-sorted-array.js) | Medium | | 35 | [Search Insert Position](https://github.com/zhufuge/leetcode-js/blob/master/problems/0035-search-insert-position.js) | Easy | | 36 | [Valid Sudoku](https://github.com/zhufuge/leetcode-js/blob/master/problems/0036-valid-sudoku.js) | Medium | | 37 | [Sudoku Solver](https://github.com/zhufuge/leetcode-js/blob/master/problems/0037-sudoku-solver.js) | Hard | | 38 | [Count and Say](https://github.com/zhufuge/leetcode-js/blob/master/problems/0038-count-and-say.js) | Easy | | 39 | [Combination Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0039-combination-sum.js) | Medium | | 40 | [Combination Sum II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0040-combination-sum-ii.js) | Medium | | 41 | [First Missing Positive](https://github.com/zhufuge/leetcode-js/blob/master/problems/0041-first-missing-positive.js) | Hard | | 42 | [Trapping Rain Water](https://github.com/zhufuge/leetcode-js/blob/master/problems/0042-trapping-rain-water.js) | Hard | | 43 | [Multiply Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0043-multiply-strings.js) | Medium | | 45 | [Jump Game II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0045-jump-game-ii.js) | Hard | | 46 | [Permutations](https://github.com/zhufuge/leetcode-js/blob/master/problems/0046-permutations.js) | Medium | | 47 | [Permutations II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0047-permutations-ii.js) | Medium | | 48 | [Rotate Image](https://github.com/zhufuge/leetcode-js/blob/master/problems/0048-rotate-image.js) | Medium | | 49 | [Group Anagrams](https://github.com/zhufuge/leetcode-js/blob/master/problems/0049-group-anagrams.js) | Medium | | 50 | [Pow(x, n)](https://github.com/zhufuge/leetcode-js/blob/master/problems/0050-powx-n.js) | Medium | | 51 | [N-Queens](https://github.com/zhufuge/leetcode-js/blob/master/problems/0051-n-queens.js) | Hard | | 52 | [N-Queens II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0052-n-queens-ii.js) | Hard | | 53 | [Maximum Subarray](https://github.com/zhufuge/leetcode-js/blob/master/problems/0053-maximum-subarray.js) | Easy | | 54 | [Spiral Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/0054-spiral-matrix.js) | Medium | | 55 | [Jump Game](https://github.com/zhufuge/leetcode-js/blob/master/problems/0055-jump-game.js) | Medium | | 56 | [Merge Intervals](https://github.com/zhufuge/leetcode-js/blob/master/problems/0056-merge-intervals.js) | Medium | | 57 | [Insert Interval](https://github.com/zhufuge/leetcode-js/blob/master/problems/0057-insert-interval.js) | Hard | | 58 | [Length of Last Word](https://github.com/zhufuge/leetcode-js/blob/master/problems/0058-length-of-last-word.js) | Easy | | 59 | [Spiral Matrix II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0059-spiral-matrix-ii.js) | Medium | | 60 | [Permutation Sequence](https://github.com/zhufuge/leetcode-js/blob/master/problems/0060-permutation-sequence.js) | Medium | | 61 | [Rotate List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0061-rotate-list.js) | Medium | | 62 | [Unique Paths](https://github.com/zhufuge/leetcode-js/blob/master/problems/0062-unique-paths.js) | Medium | | 63 | [Unique Paths II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0063-unique-paths-ii.js) | Medium | | 64 | [Minimum Path Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0064-minimum-path-sum.js) | Medium | | 66 | [Plus One](https://github.com/zhufuge/leetcode-js/blob/master/problems/0066-plus-one.js) | Easy | | 67 | [Add Binary](https://github.com/zhufuge/leetcode-js/blob/master/problems/0067-add-binary.js) | Easy | | 68 | [Text Justification](https://github.com/zhufuge/leetcode-js/blob/master/problems/0068-text-justification.js) | Hard | | 69 | [Sqrt(x)](https://github.com/zhufuge/leetcode-js/blob/master/problems/0069-sqrtx.js) | Easy | | 70 | [Climbing Stairs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0070-climbing-stairs.js) | Easy | | 71 | [Simplify Path](https://github.com/zhufuge/leetcode-js/blob/master/problems/0071-simplify-path.js) | Medium | | 73 | [Set Matrix Zeroes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0073-set-matrix-zeroes.js) | Medium | | 75 | [Sort Colors](https://github.com/zhufuge/leetcode-js/blob/master/problems/0075-sort-colors.js) | Medium | | 77 | [Combinations](https://github.com/zhufuge/leetcode-js/blob/master/problems/0077-combinations.js) | Medium | | 78 | [Subsets](https://github.com/zhufuge/leetcode-js/blob/master/problems/0078-subsets.js) | Medium | | 79 | [Word Search](https://github.com/zhufuge/leetcode-js/blob/master/problems/0079-word-search.js) | Medium | | 82 | [Remove Duplicates from Sorted List II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0082-remove-duplicates-from-sorted-list-ii.js) | Medium | | 83 | [Remove Duplicates from Sorted List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0083-remove-duplicates-from-sorted-list.js) | Easy | | 86 | [Partition List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0086-partition-list.js) | Medium | | 88 | [Merge Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0088-merge-sorted-array.js) | Easy | | 89 | [Gray Code](https://github.com/zhufuge/leetcode-js/blob/master/problems/0089-gray-code.js) | Medium | | 90 | [Subsets II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0090-subsets-ii.js) | Medium | | 92 | [Reverse Linked List II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0092-reverse-linked-list-ii.js) | Medium | | 94 | [Binary Tree Inorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0094-binary-tree-inorder-traversal.js) | Medium | | 96 | [Unique Binary Search Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0096-unique-binary-search-trees.js) | Medium | | 100 | [Same Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0100-same-tree.js) | Easy | | 101 | [Symmetric Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0101-symmetric-tree.js) | Easy | | 102 | [Binary Tree Level Order Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0102-binary-tree-level-order-traversal.js) | Medium | | 103 | [Binary Tree Zigzag Level Order Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0103-binary-tree-zigzag-level-order-traversal.js) | Medium | | 104 | [Maximum Depth of Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0104-maximum-depth-of-binary-tree.js) | Easy | | 105 | [Construct Binary Tree from Preorder and Inorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0105-construct-binary-tree-from-preorder-and-inorder-traversal.js) | Medium | | 106 | [Construct Binary Tree from Inorder and Postorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0106-construct-binary-tree-from-inorder-and-postorder-traversal.js) | Medium | | 107 | [Binary Tree Level Order Traversal II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0107-binary-tree-level-order-traversal-ii.js) | Easy | | 108 | [Convert Sorted Array to Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0108-convert-sorted-array-to-binary-search-tree.js) | Easy | | 109 | [Convert Sorted List to Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0109-convert-sorted-list-to-binary-search-tree.js) | Medium | | 110 | [Balanced Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0110-balanced-binary-tree.js) | Easy | | 111 | [Minimum Depth of Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0111-minimum-depth-of-binary-tree.js) | Easy | | 112 | [Path Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0112-path-sum.js) | Easy | | 113 | [Path Sum II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0113-path-sum-ii.js) | Medium | | 114 | [Flatten Binary Tree to Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0114-flatten-binary-tree-to-linked-list.js) | Medium | | 115 | [Distinct Subsequences](https://github.com/zhufuge/leetcode-js/blob/master/problems/0115-distinct-subsequences.js) | Hard | | 116 | [Populating Next Right Pointers in Each Node](https://github.com/zhufuge/leetcode-js/blob/master/problems/0116-populating-next-right-pointers-in-each-node.js) | Medium | | 117 | [Populating Next Right Pointers in Each Node II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0117-populating-next-right-pointers-in-each-node-ii.js) | Medium | | 118 | [Pascal's Triangle](https://github.com/zhufuge/leetcode-js/blob/master/problems/0118-pascals-triangle.js) | Easy | | 119 | [Pascal's Triangle II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0119-pascals-triangle-ii.js) | Easy | | 120 | [Triangle](https://github.com/zhufuge/leetcode-js/blob/master/problems/0120-triangle.js) | Medium | | 121 | [Best Time to Buy and Sell Stock](https://github.com/zhufuge/leetcode-js/blob/master/problems/0121-best-time-to-buy-and-sell-stock.js) | Easy | | 122 | [Best Time to Buy and Sell Stock II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0122-best-time-to-buy-and-sell-stock-ii.js) | Easy | | 136 | [Single Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0136-single-number.js) | Easy | | 141 | [Linked List Cycle](https://github.com/zhufuge/leetcode-js/blob/master/problems/0141-linked-list-cycle.js) | Easy | | 143 | [Reorder List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0143-reorder-list.js) | Medium | | 147 | [Insertion Sort List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0147-insertion-sort-list.js) | Medium | | 155 | [Min Stack](https://github.com/zhufuge/leetcode-js/blob/master/problems/0155-min-stack.js) | Easy | | 160 | [Intersection of Two Linked Lists](https://github.com/zhufuge/leetcode-js/blob/master/problems/0160-intersection-of-two-linked-lists.js) | Easy | | 162 | [Find Peak Element](https://github.com/zhufuge/leetcode-js/blob/master/problems/0162-find-peak-element.js) | Medium | | 167 | [Two Sum II - Input array is sorted](https://github.com/zhufuge/leetcode-js/blob/master/problems/0167-two-sum-ii-input-array-is-sorted.js) | Easy | | 168 | [Excel Sheet Column Title](https://github.com/zhufuge/leetcode-js/blob/master/problems/0168-excel-sheet-column-title.js) | Easy | | 169 | [Majority Element](https://github.com/zhufuge/leetcode-js/blob/master/problems/0169-majority-element.js) | Easy | | 171 | [Excel Sheet Column Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0171-excel-sheet-column-number.js) | Easy | | 172 | [Factorial Trailing Zeroes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0172-factorial-trailing-zeroes.js) | Easy | | 189 | [Rotate Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0189-rotate-array.js) | Easy | | 190 | [Reverse Bits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0190-reverse-bits.js) | Easy | | 191 | [Number of 1 Bits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0191-number-of-1-bits.js) | Easy | | 198 | [House Robber](https://github.com/zhufuge/leetcode-js/blob/master/problems/0198-house-robber.js) | Easy | | 202 | [Happy Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0202-happy-number.js) | Easy | | 203 | [Remove Linked List Elements](https://github.com/zhufuge/leetcode-js/blob/master/problems/0203-remove-linked-list-elements.js) | Easy | | 204 | [Count Primes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0204-count-primes.js) | Easy | | 205 | [Isomorphic Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0205-isomorphic-strings.js) | Easy | | 206 | [Reverse Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0206-reverse-linked-list.js) | Easy | | 217 | [Contains Duplicate](https://github.com/zhufuge/leetcode-js/blob/master/problems/0217-contains-duplicate.js) | Easy | | 219 | [Contains Duplicate II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0219-contains-duplicate-ii.js) | Easy | | 225 | [Implement Stack using Queues](https://github.com/zhufuge/leetcode-js/blob/master/problems/0225-implement-stack-using-queues.js) | Easy | | 226 | [Invert Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0226-invert-binary-tree.js) | Easy | | 230 | [Kth Smallest Element in a BST](https://github.com/zhufuge/leetcode-js/blob/master/problems/0230-kth-smallest-element-in-a-bst.js) | Medium | | 231 | [Power of Two](https://github.com/zhufuge/leetcode-js/blob/master/problems/0231-power-of-two.js) | Easy | | 232 | [Implement Queue using Stacks](https://github.com/zhufuge/leetcode-js/blob/master/problems/0232-implement-queue-using-stacks.js) | Easy | | 234 | [Palindrome Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0234-palindrome-linked-list.js) | Easy | | 235 | [Lowest Common Ancestor of a Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0235-lowest-common-ancestor-of-a-binary-search-tree.js) | Easy | | 237 | [Delete Node in a Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0237-delete-node-in-a-linked-list.js) | Easy | | 238 | [Product of Array Except Self](https://github.com/zhufuge/leetcode-js/blob/master/problems/0238-product-of-array-except-self.js) | Medium | | 242 | [Valid Anagram](https://github.com/zhufuge/leetcode-js/blob/master/problems/0242-valid-anagram.js) | Easy | | 257 | [Binary Tree Paths](https://github.com/zhufuge/leetcode-js/blob/master/problems/0257-binary-tree-paths.js) | Easy | | 258 | [Add Digits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0258-add-digits.js) | Easy | | 260 | [Single Number III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0260-single-number-iii.js) | Medium | | 263 | [Ugly Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0263-ugly-number.js) | Easy | | 268 | [Missing Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0268-missing-number.js) | Easy | | 274 | [H-Index](https://github.com/zhufuge/leetcode-js/blob/master/problems/0274-h-index.js) | Medium | | 278 | [First Bad Version](https://github.com/zhufuge/leetcode-js/blob/master/problems/0278-first-bad-version.js) | Easy | | 283 | [Move Zeroes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0283-move-zeroes.js) | Easy | | 290 | [Word Pattern](https://github.com/zhufuge/leetcode-js/blob/master/problems/0290-word-pattern.js) | Easy | | 292 | [Nim Game](https://github.com/zhufuge/leetcode-js/blob/master/problems/0292-nim-game.js) | Easy | | 299 | [Bulls and Cows](https://github.com/zhufuge/leetcode-js/blob/master/problems/0299-bulls-and-cows.js) | Easy | | 303 | [Range Sum Query - Immutable](https://github.com/zhufuge/leetcode-js/blob/master/problems/0303-range-sum-query-immutable.js) | Easy | | 326 | [Power of Three](https://github.com/zhufuge/leetcode-js/blob/master/problems/0326-power-of-three.js) | Easy | | 338 | [Counting Bits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0338-counting-bits.js) | Medium | | 342 | [Power of Four](https://github.com/zhufuge/leetcode-js/blob/master/problems/0342-power-of-four.js) | Easy | | 344 | [Reverse String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0344-reverse-string.js) | Easy | | 345 | [Reverse Vowels of a String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0345-reverse-vowels-of-a-string.js) | Easy | | 347 | [Top K Frequent Elements](https://github.com/zhufuge/leetcode-js/blob/master/problems/0347-top-k-frequent-elements.js) | Medium | | 349 | [Intersection of Two Arrays](https://github.com/zhufuge/leetcode-js/blob/master/problems/0349-intersection-of-two-arrays.js) | Easy | | 350 | [Intersection of Two Arrays II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0350-intersection-of-two-arrays-ii.js) | Easy | | 367 | [Valid Perfect Square](https://github.com/zhufuge/leetcode-js/blob/master/problems/0367-valid-perfect-square.js) | Easy | | 371 | [Sum of Two Integers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0371-sum-of-two-integers.js) | Easy | | 374 | [Guess Number Higher or Lower](https://github.com/zhufuge/leetcode-js/blob/master/problems/0374-guess-number-higher-or-lower.js) | Easy | | 383 | [Ransom Note](https://github.com/zhufuge/leetcode-js/blob/master/problems/0383-ransom-note.js) | Easy | | 387 | [First Unique Character in a String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0387-first-unique-character-in-a-string.js) | Easy | | 389 | [Find the Difference](https://github.com/zhufuge/leetcode-js/blob/master/problems/0389-find-the-difference.js) | Easy | | 392 | [Is Subsequence](https://github.com/zhufuge/leetcode-js/blob/master/problems/0392-is-subsequence.js) | Easy | | 398 | [Random Pick Index](https://github.com/zhufuge/leetcode-js/blob/master/problems/0398-random-pick-index.js) | Medium | | 400 | [Nth Digit](https://github.com/zhufuge/leetcode-js/blob/master/problems/0400-nth-digit.js) | Medium | | 401 | [Binary Watch](https://github.com/zhufuge/leetcode-js/blob/master/problems/0401-binary-watch.js) | Easy | | 404 | [Sum of Left Leaves](https://github.com/zhufuge/leetcode-js/blob/master/problems/0404-sum-of-left-leaves.js) | Easy | | 405 | [Convert a Number to Hexadecimal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0405-convert-a-number-to-hexadecimal.js) | Easy | | 406 | [Queue Reconstruction by Height](https://github.com/zhufuge/leetcode-js/blob/master/problems/0406-queue-reconstruction-by-height.js) | Medium | | 409 | [Longest Palindrome](https://github.com/zhufuge/leetcode-js/blob/master/problems/0409-longest-palindrome.js) | Easy | | 412 | [Fizz Buzz](https://github.com/zhufuge/leetcode-js/blob/master/problems/0412-fizz-buzz.js) | Easy | | 413 | [Arithmetic Slices](https://github.com/zhufuge/leetcode-js/blob/master/problems/0413-arithmetic-slices.js) | Medium | | 414 | [Third Maximum Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0414-third-maximum-number.js) | Easy | | 415 | [Add Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0415-add-strings.js) | Easy | | 419 | [Battleships in a Board](https://github.com/zhufuge/leetcode-js/blob/master/problems/0419-battleships-in-a-board.js) | Medium | | 434 | [Number of Segments in a String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0434-number-of-segments-in-a-string.js) | Easy | | 437 | [Path Sum III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0437-path-sum-iii.js) | Easy | | 438 | [Find All Anagrams in a String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0438-find-all-anagrams-in-a-string.js) | Medium | | 441 | [Arranging Coins](https://github.com/zhufuge/leetcode-js/blob/master/problems/0441-arranging-coins.js) | Easy | | 442 | [Find All Duplicates in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0442-find-all-duplicates-in-an-array.js) | Medium | | 443 | [String Compression](https://github.com/zhufuge/leetcode-js/blob/master/problems/0443-string-compression.js) | Easy | | 447 | [Number of Boomerangs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0447-number-of-boomerangs.js) | Easy | | 448 | [Find All Numbers Disappeared in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0448-find-all-numbers-disappeared-in-an-array.js) | Easy | | 451 | [Sort Characters By Frequency](https://github.com/zhufuge/leetcode-js/blob/master/problems/0451-sort-characters-by-frequency.js) | Medium | | 453 | [Minimum Moves to Equal Array Elements](https://github.com/zhufuge/leetcode-js/blob/master/problems/0453-minimum-moves-to-equal-array-elements.js) | Easy | | 455 | [Assign Cookies](https://github.com/zhufuge/leetcode-js/blob/master/problems/0455-assign-cookies.js) | Easy | | 458 | [Poor Pigs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0458-poor-pigs.js) | Hard | | 459 | [Repeated Substring Pattern](https://github.com/zhufuge/leetcode-js/blob/master/problems/0459-repeated-substring-pattern.js) | Easy | | 462 | [Minimum Moves to Equal Array Elements II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0462-minimum-moves-to-equal-array-elements-ii.js) | Medium | | 463 | [Island Perimeter](https://github.com/zhufuge/leetcode-js/blob/master/problems/0463-island-perimeter.js) | Easy | | 467 | [Unique Substrings in Wraparound String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0467-unique-substrings-in-wraparound-string.js) | Medium | | 475 | [Heaters](https://github.com/zhufuge/leetcode-js/blob/master/problems/0475-heaters.js) | Easy | | 476 | [Number Complement](https://github.com/zhufuge/leetcode-js/blob/master/problems/0476-number-complement.js) | Easy | | 479 | [Largest Palindrome Product](https://github.com/zhufuge/leetcode-js/blob/master/problems/0479-largest-palindrome-product.js) | Hard | | 481 | [Magical String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0481-magical-string.js) | Medium | | 482 | [License Key Formatting](https://github.com/zhufuge/leetcode-js/blob/master/problems/0482-license-key-formatting.js) | Easy | | 485 | [Max Consecutive Ones](https://github.com/zhufuge/leetcode-js/blob/master/problems/0485-max-consecutive-ones.js) | Easy | | 492 | [Construct the Rectangle](https://github.com/zhufuge/leetcode-js/blob/master/problems/0492-construct-the-rectangle.js) | Easy | | 495 | [Teemo Attacking](https://github.com/zhufuge/leetcode-js/blob/master/problems/0495-teemo-attacking.js) | Medium | | 496 | [Next Greater Element I](https://github.com/zhufuge/leetcode-js/blob/master/problems/0496-next-greater-element-i.js) | Easy | | 500 | [Keyboard Row](https://github.com/zhufuge/leetcode-js/blob/master/problems/0500-keyboard-row.js) | Easy | | 501 | [Find Mode in Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0501-find-mode-in-binary-search-tree.js) | Easy | | 504 | [Base 7](https://github.com/zhufuge/leetcode-js/blob/master/problems/0504-base-7.js) | Easy | | 506 | [Relative Ranks](https://github.com/zhufuge/leetcode-js/blob/master/problems/0506-relative-ranks.js) | Easy | | 507 | [Perfect Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0507-perfect-number.js) | Easy | | 508 | [Most Frequent Subtree Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0508-most-frequent-subtree-sum.js) | Medium | | 513 | [Find Bottom Left Tree Value](https://github.com/zhufuge/leetcode-js/blob/master/problems/0513-find-bottom-left-tree-value.js) | Medium | | 515 | [Find Largest Value in Each Tree Row](https://github.com/zhufuge/leetcode-js/blob/master/problems/0515-find-largest-value-in-each-tree-row.js) | Medium | | 520 | [Detect Capital](https://github.com/zhufuge/leetcode-js/blob/master/problems/0520-detect-capital.js) | Easy | | 521 | [Longest Uncommon Subsequence I ](https://github.com/zhufuge/leetcode-js/blob/master/problems/0521-longest-uncommon-subsequence-i.js) | Easy | | 526 | [Beautiful Arrangement](https://github.com/zhufuge/leetcode-js/blob/master/problems/0526-beautiful-arrangement.js) | Medium | | 529 | [Minesweeper](https://github.com/zhufuge/leetcode-js/blob/master/problems/0529-minesweeper.js) | Medium | | 530 | [Minimum Absolute Difference in BST](https://github.com/zhufuge/leetcode-js/blob/master/problems/0530-minimum-absolute-difference-in-bst.js) | Easy | | 532 | [K-diff Pairs in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0532-k-diff-pairs-in-an-array.js) | Easy | | 535 | [Encode and Decode TinyURL](https://github.com/zhufuge/leetcode-js/blob/master/problems/0535-encode-and-decode-tinyurl.js) | Medium | | 537 | [Complex Number Multiplication](https://github.com/zhufuge/leetcode-js/blob/master/problems/0537-complex-number-multiplication.js) | Medium | | 538 | [Convert BST to Greater Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0538-convert-bst-to-greater-tree.js) | Easy | | 540 | [Single Element in a Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0540-single-element-in-a-sorted-array.js) | Medium | | 541 | [Reverse String II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0541-reverse-string-ii.js) | Easy | | 543 | [Diameter of Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0543-diameter-of-binary-tree.js) | Easy | | 547 | [Friend Circles](https://github.com/zhufuge/leetcode-js/blob/master/problems/0547-friend-circles.js) | Medium | | 551 | [Student Attendance Record I](https://github.com/zhufuge/leetcode-js/blob/master/problems/0551-student-attendance-record-i.js) | Easy | | 553 | [Optimal Division](https://github.com/zhufuge/leetcode-js/blob/master/problems/0553-optimal-division.js) | Medium | | 557 | [Reverse Words in a String III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0557-reverse-words-in-a-string-iii.js) | Easy | | 561 | [Array Partition I](https://github.com/zhufuge/leetcode-js/blob/master/problems/0561-array-partition-i.js) | Easy | | 563 | [Binary Tree Tilt](https://github.com/zhufuge/leetcode-js/blob/master/problems/0563-binary-tree-tilt.js) | Easy | | 566 | [Reshape the Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/0566-reshape-the-matrix.js) | Easy | | 567 | [Permutation in String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0567-permutation-in-string.js) | Medium | | 572 | [Subtree of Another Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0572-subtree-of-another-tree.js) | Easy | | 575 | [Distribute Candies](https://github.com/zhufuge/leetcode-js/blob/master/problems/0575-distribute-candies.js) | Easy | | 581 | [Shortest Unsorted Continuous Subarray](https://github.com/zhufuge/leetcode-js/blob/master/problems/0581-shortest-unsorted-continuous-subarray.js) | Easy | | 594 | [Longest Harmonious Subsequence](https://github.com/zhufuge/leetcode-js/blob/master/problems/0594-longest-harmonious-subsequence.js) | Easy | | 599 | [Minimum Index Sum of Two Lists](https://github.com/zhufuge/leetcode-js/blob/master/problems/0599-minimum-index-sum-of-two-lists.js) | Easy | | 605 | [Can Place Flowers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0605-can-place-flowers.js) | Easy | | 606 | [Construct String from Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0606-construct-string-from-binary-tree.js) | Easy | | 609 | [Find Duplicate File in System](https://github.com/zhufuge/leetcode-js/blob/master/problems/0609-find-duplicate-file-in-system.js) | Medium | | 617 | [Merge Two Binary Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0617-merge-two-binary-trees.js) | Easy | | 628 | [Maximum Product of Three Numbers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0628-maximum-product-of-three-numbers.js) | Easy | | 633 | [Sum of Square Numbers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0633-sum-of-square-numbers.js) | Easy | | 637 | [Average of Levels in Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0637-average-of-levels-in-binary-tree.js) | Easy | | 643 | [Maximum Average Subarray I](https://github.com/zhufuge/leetcode-js/blob/master/problems/0643-maximum-average-subarray-i.js) | Easy | | 645 | [Set Mismatch](https://github.com/zhufuge/leetcode-js/blob/master/problems/0645-set-mismatch.js) | Easy | | 647 | [Palindromic Substrings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0647-palindromic-substrings.js) | Medium | | 653 | [Two Sum IV - Input is a BST](https://github.com/zhufuge/leetcode-js/blob/master/problems/0653-two-sum-iv-input-is-a-bst.js) | Easy | | 654 | [Maximum Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0654-maximum-binary-tree.js) | Medium | | 655 | [Print Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0655-print-binary-tree.js) | Medium | | 657 | [Robot Return to Origin](https://github.com/zhufuge/leetcode-js/blob/master/problems/0657-robot-return-to-origin.js) | Easy | | 661 | [Image Smoother](https://github.com/zhufuge/leetcode-js/blob/master/problems/0661-image-smoother.js) | Easy | | 665 | [Non-decreasing Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0665-non-decreasing-array.js) | Easy | | 667 | [Beautiful Arrangement II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0667-beautiful-arrangement-ii.js) | Medium | | 669 | [Trim a Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0669-trim-a-binary-search-tree.js) | Easy | | 671 | [Second Minimum Node In a Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0671-second-minimum-node-in-a-binary-tree.js) | Easy | | 674 | [Longest Continuous Increasing Subsequence](https://github.com/zhufuge/leetcode-js/blob/master/problems/0674-longest-continuous-increasing-subsequence.js) | Easy | | 677 | [Map Sum Pairs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0677-map-sum-pairs.js) | Medium | | 680 | [Valid Palindrome II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0680-valid-palindrome-ii.js) | Easy | | 682 | [Baseball Game](https://github.com/zhufuge/leetcode-js/blob/master/problems/0682-baseball-game.js) | Easy | | 686 | [Repeated String Match](https://github.com/zhufuge/leetcode-js/blob/master/problems/0686-repeated-string-match.js) | Easy | | 687 | [Longest Univalue Path](https://github.com/zhufuge/leetcode-js/blob/master/problems/0687-longest-univalue-path.js) | Easy | | 690 | [Employee Importance](https://github.com/zhufuge/leetcode-js/blob/master/problems/0690-employee-importance.js) | Easy | | 693 | [Binary Number with Alternating Bits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0693-binary-number-with-alternating-bits.js) | Easy | | 695 | [Max Area of Island](https://github.com/zhufuge/leetcode-js/blob/master/problems/0695-max-area-of-island.js) | Medium | | 696 | [Count Binary Substrings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0696-count-binary-substrings.js) | Easy | | 697 | [Degree of an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0697-degree-of-an-array.js) | Easy | | 713 | [Subarray Product Less Than K](https://github.com/zhufuge/leetcode-js/blob/master/problems/0713-subarray-product-less-than-k.js) | Medium | | 717 | [1-bit and 2-bit Characters](https://github.com/zhufuge/leetcode-js/blob/master/problems/0717-1-bit-and-2-bit-characters.js) | Easy | | 720 | [Longest Word in Dictionary](https://github.com/zhufuge/leetcode-js/blob/master/problems/0720-longest-word-in-dictionary.js) | Easy | | 724 | [Find Pivot Index](https://github.com/zhufuge/leetcode-js/blob/master/problems/0724-find-pivot-index.js) | Easy | | 725 | [Split Linked List in Parts](https://github.com/zhufuge/leetcode-js/blob/master/problems/0725-split-linked-list-in-parts.js) | Medium | | 728 | [Self Dividing Numbers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0728-self-dividing-numbers.js) | Easy | | 732 | [My Calendar III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0732-my-calendar-iii.js) | Hard | | 733 | [Flood Fill](https://github.com/zhufuge/leetcode-js/blob/master/problems/0733-flood-fill.js) | Easy | | 739 | [Daily Temperatures](https://github.com/zhufuge/leetcode-js/blob/master/problems/0739-daily-temperatures.js) | Medium | | 709 | [To Lower Case](https://github.com/zhufuge/leetcode-js/blob/master/problems/0709-to-lower-case.js) | Easy | | 744 | [Find Smallest Letter Greater Than Target](https://github.com/zhufuge/leetcode-js/blob/master/problems/0744-find-smallest-letter-greater-than-target.js) | Easy | | 746 | [Min Cost Climbing Stairs](https://github.com/zhufuge/leetcode-js/blob/master/problems/0746-min-cost-climbing-stairs.js) | Easy | | 747 | [Largest Number At Least Twice of Others](https://github.com/zhufuge/leetcode-js/blob/master/problems/0747-largest-number-at-least-twice-of-others.js) | Easy | | 748 | [Shortest Completing Word](https://github.com/zhufuge/leetcode-js/blob/master/problems/0748-shortest-completing-word.js) | Easy | | 762 | [Prime Number of Set Bits in Binary Representation](https://github.com/zhufuge/leetcode-js/blob/master/problems/0762-prime-number-of-set-bits-in-binary-representation.js) | Easy | | 559 | [Maximum Depth of N-ary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0559-maximum-depth-of-n-ary-tree.js) | Easy | | 589 | [N-ary Tree Preorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0589-n-ary-tree-preorder-traversal.js) | Easy | | 590 | [N-ary Tree Postorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0590-n-ary-tree-postorder-traversal.js) | Easy | | 766 | [Toeplitz Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/0766-toeplitz-matrix.js) | Easy | | 771 | [Jewels and Stones](https://github.com/zhufuge/leetcode-js/blob/master/problems/0771-jewels-and-stones.js) | Easy | | 700 | [Search in a Binary Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0700-search-in-a-binary-search-tree.js) | Easy | | 703 | [Kth Largest Element in a Stream](https://github.com/zhufuge/leetcode-js/blob/master/problems/0703-kth-largest-element-in-a-stream.js) | Easy | | 704 | [Binary Search](https://github.com/zhufuge/leetcode-js/blob/master/problems/0704-binary-search.js) | Easy | | 783 | [Minimum Distance Between BST Nodes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0783-minimum-distance-between-bst-nodes.js) | Easy | | 784 | [Letter Case Permutation](https://github.com/zhufuge/leetcode-js/blob/master/problems/0784-letter-case-permutation.js) | Easy | | 788 | [Rotated Digits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0788-rotated-digits.js) | Easy | | 796 | [Rotate String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0796-rotate-string.js) | Easy | | 705 | [Design HashSet](https://github.com/zhufuge/leetcode-js/blob/master/problems/0705-design-hashset.js) | Easy | | 706 | [Design HashMap](https://github.com/zhufuge/leetcode-js/blob/master/problems/0706-design-hashmap.js) | Easy | | 804 | [Unique Morse Code Words](https://github.com/zhufuge/leetcode-js/blob/master/problems/0804-unique-morse-code-words.js) | Easy | | 806 | [Number of Lines To Write String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0806-number-of-lines-to-write-string.js) | Easy | | 811 | [Subdomain Visit Count](https://github.com/zhufuge/leetcode-js/blob/master/problems/0811-subdomain-visit-count.js) | Easy | | 819 | [Most Common Word](https://github.com/zhufuge/leetcode-js/blob/master/problems/0819-most-common-word.js) | Easy | | 821 | [Shortest Distance to a Character](https://github.com/zhufuge/leetcode-js/blob/master/problems/0821-shortest-distance-to-a-character.js) | Easy | | 824 | [Goat Latin](https://github.com/zhufuge/leetcode-js/blob/master/problems/0824-goat-latin.js) | Easy | | 830 | [Positions of Large Groups](https://github.com/zhufuge/leetcode-js/blob/master/problems/0830-positions-of-large-groups.js) | Easy | | 832 | [Flipping an Image](https://github.com/zhufuge/leetcode-js/blob/master/problems/0832-flipping-an-image.js) | Easy | | 833 | [Find And Replace in String](https://github.com/zhufuge/leetcode-js/blob/master/problems/0833-find-and-replace-in-string.js) | Medium | | 836 | [Rectangle Overlap](https://github.com/zhufuge/leetcode-js/blob/master/problems/0836-rectangle-overlap.js) | Easy | | 840 | [Magic Squares In Grid](https://github.com/zhufuge/leetcode-js/blob/master/problems/0840-magic-squares-in-grid.js) | Easy | | 844 | [Backspace String Compare](https://github.com/zhufuge/leetcode-js/blob/master/problems/0844-backspace-string-compare.js) | Easy | | 849 | [Maximize Distance to Closest Person](https://github.com/zhufuge/leetcode-js/blob/master/problems/0849-maximize-distance-to-closest-person.js) | Easy | | 852 | [Peak Index in a Mountain Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0852-peak-index-in-a-mountain-array.js) | Easy | | 859 | [Buddy Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0859-buddy-strings.js) | Easy | | 860 | [Lemonade Change](https://github.com/zhufuge/leetcode-js/blob/master/problems/0860-lemonade-change.js) | Easy | | 863 | [All Nodes Distance K in Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0863-all-nodes-distance-k-in-binary-tree.js) | Medium | | 867 | [Transpose Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/0867-transpose-matrix.js) | Easy | | 868 | [Binary Gap](https://github.com/zhufuge/leetcode-js/blob/master/problems/0868-binary-gap.js) | Easy | | 872 | [Leaf-Similar Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0872-leaf-similar-trees.js) | Easy | | 874 | [Walking Robot Simulation](https://github.com/zhufuge/leetcode-js/blob/master/problems/0874-walking-robot-simulation.js) | Easy | | 876 | [Middle of the Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/0876-middle-of-the-linked-list.js) | Easy | | 883 | [Projection Area of 3D Shapes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0883-projection-area-of-3d-shapes.js) | Easy | | 884 | [Uncommon Words from Two Sentences](https://github.com/zhufuge/leetcode-js/blob/master/problems/0884-uncommon-words-from-two-sentences.js) | Easy | | 885 | [Spiral Matrix III](https://github.com/zhufuge/leetcode-js/blob/master/problems/0885-spiral-matrix-iii.js) | Medium | | 888 | [Fair Candy Swap](https://github.com/zhufuge/leetcode-js/blob/master/problems/0888-fair-candy-swap.js) | Easy | | 889 | [Construct Binary Tree from Preorder and Postorder Traversal](https://github.com/zhufuge/leetcode-js/blob/master/problems/0889-construct-binary-tree-from-preorder-and-postorder-traversal.js) | Medium | | 890 | [Find and Replace Pattern](https://github.com/zhufuge/leetcode-js/blob/master/problems/0890-find-and-replace-pattern.js) | Medium | | 892 | [Surface Area of 3D Shapes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0892-surface-area-of-3d-shapes.js) | Easy | | 893 | [Groups of Special-Equivalent Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/0893-groups-of-special-equivalent-strings.js) | Easy | | 894 | [All Possible Full Binary Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0894-all-possible-full-binary-trees.js) | Medium | | 896 | [Monotonic Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0896-monotonic-array.js) | Easy | | 897 | [Increasing Order Search Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0897-increasing-order-search-tree.js) | Easy | | 905 | [Sort Array By Parity](https://github.com/zhufuge/leetcode-js/blob/master/problems/0905-sort-array-by-parity.js) | Easy | | 908 | [Smallest Range I](https://github.com/zhufuge/leetcode-js/blob/master/problems/0908-smallest-range-i.js) | Easy | | 912 | [Sort an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0912-sort-an-array.js) | Medium | | 914 | [X of a Kind in a Deck of Cards](https://github.com/zhufuge/leetcode-js/blob/master/problems/0914-x-of-a-kind-in-a-deck-of-cards.js) | Easy | | 921 | [Minimum Add to Make Parentheses Valid](https://github.com/zhufuge/leetcode-js/blob/master/problems/0921-minimum-add-to-make-parentheses-valid.js) | Medium | | 922 | [Sort Array By Parity II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0922-sort-array-by-parity-ii.js) | Easy | | 925 | [Long Pressed Name](https://github.com/zhufuge/leetcode-js/blob/master/problems/0925-long-pressed-name.js) | Easy | | 929 | [Unique Email Addresses](https://github.com/zhufuge/leetcode-js/blob/master/problems/0929-unique-email-addresses.js) | Easy | | 931 | [Minimum Falling Path Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/0931-minimum-falling-path-sum.js) | Medium | | 933 | [Number of Recent Calls](https://github.com/zhufuge/leetcode-js/blob/master/problems/0933-number-of-recent-calls.js) | Easy | | 937 | [Reorder Data in Log Files](https://github.com/zhufuge/leetcode-js/blob/master/problems/0937-reorder-data-in-log-files.js) | Easy | | 938 | [Range Sum of BST](https://github.com/zhufuge/leetcode-js/blob/master/problems/0938-range-sum-of-bst.js) | Easy | | 941 | [Valid Mountain Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0941-valid-mountain-array.js) | Easy | | 942 | [DI String Match](https://github.com/zhufuge/leetcode-js/blob/master/problems/0942-di-string-match.js) | Easy | | 944 | [Delete Columns to Make Sorted](https://github.com/zhufuge/leetcode-js/blob/master/problems/0944-delete-columns-to-make-sorted.js) | Easy | | 946 | [Validate Stack Sequences](https://github.com/zhufuge/leetcode-js/blob/master/problems/0946-validate-stack-sequences.js) | Medium | | 949 | [Largest Time for Given Digits](https://github.com/zhufuge/leetcode-js/blob/master/problems/0949-largest-time-for-given-digits.js) | Easy | | 950 | [Reveal Cards In Increasing Order](https://github.com/zhufuge/leetcode-js/blob/master/problems/0950-reveal-cards-in-increasing-order.js) | Medium | | 951 | [Flip Equivalent Binary Trees](https://github.com/zhufuge/leetcode-js/blob/master/problems/0951-flip-equivalent-binary-trees.js) | Medium | | 953 | [Verifying an Alien Dictionary](https://github.com/zhufuge/leetcode-js/blob/master/problems/0953-verifying-an-alien-dictionary.js) | Easy | | 959 | [Regions Cut By Slashes](https://github.com/zhufuge/leetcode-js/blob/master/problems/0959-regions-cut-by-slashes.js) | Medium | | 965 | [Univalued Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0965-univalued-binary-tree.js) | Easy | | 969 | [Pancake Sorting](https://github.com/zhufuge/leetcode-js/blob/master/problems/0969-pancake-sorting.js) | Medium | | 970 | [Powerful Integers](https://github.com/zhufuge/leetcode-js/blob/master/problems/0970-powerful-integers.js) | Easy | | 509 | [Fibonacci Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/0509-fibonacci-number.js) | Easy | | 976 | [Largest Perimeter Triangle](https://github.com/zhufuge/leetcode-js/blob/master/problems/0976-largest-perimeter-triangle.js) | Easy | | 977 | [Squares of a Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/0977-squares-of-a-sorted-array.js) | Easy | | 979 | [Distribute Coins in Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0979-distribute-coins-in-binary-tree.js) | Medium | | 985 | [Sum of Even Numbers After Queries](https://github.com/zhufuge/leetcode-js/blob/master/problems/0985-sum-of-even-numbers-after-queries.js) | Easy | | 986 | [Interval List Intersections](https://github.com/zhufuge/leetcode-js/blob/master/problems/0986-interval-list-intersections.js) | Medium | | 989 | [Add to Array-Form of Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/0989-add-to-array-form-of-integer.js) | Easy | | 993 | [Cousins in Binary Tree](https://github.com/zhufuge/leetcode-js/blob/master/problems/0993-cousins-in-binary-tree.js) | Easy | | 994 | [Rotting Oranges](https://github.com/zhufuge/leetcode-js/blob/master/problems/0994-rotting-oranges.js) | Medium | | 997 | [Find the Town Judge](https://github.com/zhufuge/leetcode-js/blob/master/problems/0997-find-the-town-judge.js) | Easy | | 998 | [Maximum Binary Tree II](https://github.com/zhufuge/leetcode-js/blob/master/problems/0998-maximum-binary-tree-ii.js) | Medium | | 999 | [Available Captures for Rook](https://github.com/zhufuge/leetcode-js/blob/master/problems/0999-available-captures-for-rook.js) | Easy | | 1002 | [Find Common Characters](https://github.com/zhufuge/leetcode-js/blob/master/problems/1002-find-common-characters.js) | Easy | | 1005 | [Maximize Sum Of Array After K Negations](https://github.com/zhufuge/leetcode-js/blob/master/problems/1005-maximize-sum-of-array-after-k-negations.js) | Easy | | 1009 | [Complement of Base 10 Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/1009-complement-of-base-10-integer.js) | Easy | | 1010 | [Pairs of Songs With Total Durations Divisible by 60](https://github.com/zhufuge/leetcode-js/blob/master/problems/1010-pairs-of-songs-with-total-durations-divisible-by-60.js) | Easy | | 1013 | [Partition Array Into Three Parts With Equal Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/1013-partition-array-into-three-parts-with-equal-sum.js) | Easy | | 1018 | [Binary Prefix Divisible By 5](https://github.com/zhufuge/leetcode-js/blob/master/problems/1018-binary-prefix-divisible-by-5.js) | Easy | | 1022 | [Sum of Root To Leaf Binary Numbers](https://github.com/zhufuge/leetcode-js/blob/master/problems/1022-sum-of-root-to-leaf-binary-numbers.js) | Easy | | 1025 | [Divisor Game](https://github.com/zhufuge/leetcode-js/blob/master/problems/1025-divisor-game.js) | Easy | | 1030 | [Matrix Cells in Distance Order](https://github.com/zhufuge/leetcode-js/blob/master/problems/1030-matrix-cells-in-distance-order.js) | Easy | | 1029 | [Two City Scheduling](https://github.com/zhufuge/leetcode-js/blob/master/problems/1029-two-city-scheduling.js) | Easy | | 1033 | [Moving Stones Until Consecutive](https://github.com/zhufuge/leetcode-js/blob/master/problems/1033-moving-stones-until-consecutive.js) | Easy | | 1160 | [Find Words That Can Be Formed by Characters](https://github.com/zhufuge/leetcode-js/blob/master/problems/1160-find-words-that-can-be-formed-by-characters.js) | Easy | | 1037 | [Valid Boomerang](https://github.com/zhufuge/leetcode-js/blob/master/problems/1037-valid-boomerang.js) | Easy | | 1042 | [Flower Planting With No Adjacent](https://github.com/zhufuge/leetcode-js/blob/master/problems/1042-flower-planting-with-no-adjacent.js) | Easy | | 1046 | [Last Stone Weight](https://github.com/zhufuge/leetcode-js/blob/master/problems/1046-last-stone-weight.js) | Easy | | 1047 | [Remove All Adjacent Duplicates In String](https://github.com/zhufuge/leetcode-js/blob/master/problems/1047-remove-all-adjacent-duplicates-in-string.js) | Easy | | 1051 | [Height Checker](https://github.com/zhufuge/leetcode-js/blob/master/problems/1051-height-checker.js) | Easy | | 1071 | [Greatest Common Divisor of Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/1071-greatest-common-divisor-of-strings.js) | Easy | | 1078 | [Occurrences After Bigram](https://github.com/zhufuge/leetcode-js/blob/master/problems/1078-occurrences-after-bigram.js) | Easy | | 1089 | [Duplicate Zeros](https://github.com/zhufuge/leetcode-js/blob/master/problems/1089-duplicate-zeros.js) | Easy | | 1103 | [Distribute Candies to People](https://github.com/zhufuge/leetcode-js/blob/master/problems/1103-distribute-candies-to-people.js) | Easy | | 1108 | [Defanging an IP Address](https://github.com/zhufuge/leetcode-js/blob/master/problems/1108-defanging-an-ip-address.js) | Easy | | 1122 | [Relative Sort Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1122-relative-sort-array.js) | Easy | | 1287 | [Element Appearing More Than 25% In Sorted Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1287-element-appearing-more-than-25-in-sorted-array.js) | Easy | | 1128 | [Number of Equivalent Domino Pairs](https://github.com/zhufuge/leetcode-js/blob/master/problems/1128-number-of-equivalent-domino-pairs.js) | Easy | | 1299 | [Replace Elements with Greatest Element on Right Side](https://github.com/zhufuge/leetcode-js/blob/master/problems/1299-replace-elements-with-greatest-element-on-right-side.js) | Easy | | 1137 | [N-th Tribonacci Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/1137-n-th-tribonacci-number.js) | Easy | | 1313 | [Decompress Run-Length Encoded List](https://github.com/zhufuge/leetcode-js/blob/master/problems/1313-decompress-run-length-encoded-list.js) | Easy | | 1331 | [Rank Transform of an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1331-rank-transform-of-an-array.js) | Easy | | 1154 | [Day of the Year](https://github.com/zhufuge/leetcode-js/blob/master/problems/1154-day-of-the-year.js) | Easy | | 1171 | [Remove Zero Sum Consecutive Nodes from Linked List](https://github.com/zhufuge/leetcode-js/blob/master/problems/1171-remove-zero-sum-consecutive-nodes-from-linked-list.js) | Medium | | 1170 | [Compare Strings by Frequency of the Smallest Character](https://github.com/zhufuge/leetcode-js/blob/master/problems/1170-compare-strings-by-frequency-of-the-smallest-character.js) | Easy | | 1360 | [Number of Days Between Two Dates](https://github.com/zhufuge/leetcode-js/blob/master/problems/1360-number-of-days-between-two-dates.js) | Easy | | 1175 | [Prime Arrangements](https://github.com/zhufuge/leetcode-js/blob/master/problems/1175-prime-arrangements.js) | Easy | | 1184 | [Distance Between Bus Stops](https://github.com/zhufuge/leetcode-js/blob/master/problems/1184-distance-between-bus-stops.js) | Easy | | 1185 | [Day of the Week](https://github.com/zhufuge/leetcode-js/blob/master/problems/1185-day-of-the-week.js) | Easy | | 1189 | [Maximum Number of Balloons](https://github.com/zhufuge/leetcode-js/blob/master/problems/1189-maximum-number-of-balloons.js) | Easy | | 1200 | [Minimum Absolute Difference](https://github.com/zhufuge/leetcode-js/blob/master/problems/1200-minimum-absolute-difference.js) | Easy | | 1207 | [Unique Number of Occurrences](https://github.com/zhufuge/leetcode-js/blob/master/problems/1207-unique-number-of-occurrences.js) | Easy | | 1217 | [Play with Chips](https://github.com/zhufuge/leetcode-js/blob/master/problems/1217-play-with-chips.js) | Easy | | 1221 | [Split a String in Balanced Strings](https://github.com/zhufuge/leetcode-js/blob/master/problems/1221-split-a-string-in-balanced-strings.js) | Easy | | 1232 | [Check If It Is a Straight Line](https://github.com/zhufuge/leetcode-js/blob/master/problems/1232-check-if-it-is-a-straight-line.js) | Easy | | 1237 | [Find Positive Integer Solution for a Given Equation](https://github.com/zhufuge/leetcode-js/blob/master/problems/1237-find-positive-integer-solution-for-a-given-equation.js) | Easy | | 1252 | [Cells with Odd Values in a Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/1252-cells-with-odd-values-in-a-matrix.js) | Easy | | 1260 | [Shift 2D Grid](https://github.com/zhufuge/leetcode-js/blob/master/problems/1260-shift-2d-grid.js) | Easy | | 1266 | [Minimum Time Visiting All Points](https://github.com/zhufuge/leetcode-js/blob/master/problems/1266-minimum-time-visiting-all-points.js) | Easy | | 1275 | [Find Winner on a Tic Tac Toe Game](https://github.com/zhufuge/leetcode-js/blob/master/problems/1275-find-winner-on-a-tic-tac-toe-game.js) | Easy | | 1281 | [Subtract the Product and Sum of Digits of an Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/1281-subtract-the-product-and-sum-of-digits-of-an-integer.js) | Easy | | 1290 | [Convert Binary Number in a Linked List to Integer](https://github.com/zhufuge/leetcode-js/blob/master/problems/1290-convert-binary-number-in-a-linked-list-to-integer.js) | Easy | | 1295 | [Find Numbers with Even Number of Digits](https://github.com/zhufuge/leetcode-js/blob/master/problems/1295-find-numbers-with-even-number-of-digits.js) | Easy | | 1304 | [Find N Unique Integers Sum up to Zero](https://github.com/zhufuge/leetcode-js/blob/master/problems/1304-find-n-unique-integers-sum-up-to-zero.js) | Easy | | 1309 | [Decrypt String from Alphabet to Integer Mapping](https://github.com/zhufuge/leetcode-js/blob/master/problems/1309-decrypt-string-from-alphabet-to-integer-mapping.js) | Easy | | 1317 | [Convert Integer to the Sum of Two No-Zero Integers](https://github.com/zhufuge/leetcode-js/blob/master/problems/1317-convert-integer-to-the-sum-of-two-no-zero-integers.js) | Easy | | 1342 | [Number of Steps to Reduce a Number to Zero](https://github.com/zhufuge/leetcode-js/blob/master/problems/1342-number-of-steps-to-reduce-a-number-to-zero.js) | Easy | | 1323 | [Maximum 69 Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/1323-maximum-69-number.js) | Easy | | 1356 | [Sort Integers by The Number of 1 Bits](https://github.com/zhufuge/leetcode-js/blob/master/problems/1356-sort-integers-by-the-number-of-1-bits.js) | Easy | | 1337 | [The K Weakest Rows in a Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/1337-the-k-weakest-rows-in-a-matrix.js) | Easy | | 1346 | [Check If N and Its Double Exist](https://github.com/zhufuge/leetcode-js/blob/master/problems/1346-check-if-n-and-its-double-exist.js) | Easy | | 1370 | [Increasing Decreasing String](https://github.com/zhufuge/leetcode-js/blob/master/problems/1370-increasing-decreasing-string.js) | Easy | | 1351 | [Count Negative Numbers in a Sorted Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/1351-count-negative-numbers-in-a-sorted-matrix.js) | Easy | | 1365 | [How Many Numbers Are Smaller Than the Current Number](https://github.com/zhufuge/leetcode-js/blob/master/problems/1365-how-many-numbers-are-smaller-than-the-current-number.js) | Easy | | 1385 | [Find the Distance Value Between Two Arrays](https://github.com/zhufuge/leetcode-js/blob/master/problems/1385-find-the-distance-value-between-two-arrays.js) | Easy | | 1374 | [Generate a String With Characters That Have Odd Counts](https://github.com/zhufuge/leetcode-js/blob/master/problems/1374-generate-a-string-with-characters-that-have-odd-counts.js) | Easy | | 1380 | [Lucky Numbers in a Matrix](https://github.com/zhufuge/leetcode-js/blob/master/problems/1380-lucky-numbers-in-a-matrix.js) | Easy | | 1399 | [Count Largest Group](https://github.com/zhufuge/leetcode-js/blob/master/problems/1399-count-largest-group.js) | Easy | | 1389 | [Create Target Array in the Given Order](https://github.com/zhufuge/leetcode-js/blob/master/problems/1389-create-target-array-in-the-given-order.js) | Easy | | 1394 | [Find Lucky Integer in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1394-find-lucky-integer-in-an-array.js) | Easy | | 1413 | [Minimum Value to Get Positive Step by Step Sum](https://github.com/zhufuge/leetcode-js/blob/master/problems/1413-minimum-value-to-get-positive-step-by-step-sum.js) | Easy | | 1403 | [Minimum Subsequence in Non-Increasing Order](https://github.com/zhufuge/leetcode-js/blob/master/problems/1403-minimum-subsequence-in-non-increasing-order.js) | Easy | | 1408 | [String Matching in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1408-string-matching-in-an-array.js) | Easy | | 1431 | [Kids With the Greatest Number of Candies](https://github.com/zhufuge/leetcode-js/blob/master/problems/1431-kids-with-the-greatest-number-of-candies.js) | Easy | | 1417 | [Reformat The String](https://github.com/zhufuge/leetcode-js/blob/master/problems/1417-reformat-the-string.js) | Easy | | 1422 | [Maximum Score After Splitting a String](https://github.com/zhufuge/leetcode-js/blob/master/problems/1422-maximum-score-after-splitting-a-string.js) | Easy | | 1446 | [Consecutive Characters](https://github.com/zhufuge/leetcode-js/blob/master/problems/1446-consecutive-characters.js) | Easy | | 1436 | [Destination City](https://github.com/zhufuge/leetcode-js/blob/master/problems/1436-destination-city.js) | Easy | | 1441 | [Build an Array With Stack Operations](https://github.com/zhufuge/leetcode-js/blob/master/problems/1441-build-an-array-with-stack-operations.js) | Easy | | 1460 | [Make Two Arrays Equal by Reversing Sub-arrays](https://github.com/zhufuge/leetcode-js/blob/master/problems/1460-make-two-arrays-equal-by-reversing-sub-arrays.js) | Easy | | 1450 | [Number of Students Doing Homework at a Given Time](https://github.com/zhufuge/leetcode-js/blob/master/problems/1450-number-of-students-doing-homework-at-a-given-time.js) | Easy | | 1455 | [Check If a Word Occurs As a Prefix of Any Word in a Sentence](https://github.com/zhufuge/leetcode-js/blob/master/problems/1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence.js) | Easy | | 1475 | [Final Prices With a Special Discount in a Shop](https://github.com/zhufuge/leetcode-js/blob/master/problems/1475-final-prices-with-a-special-discount-in-a-shop.js) | Easy | | 1464 | [Maximum Product of Two Elements in an Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1464-maximum-product-of-two-elements-in-an-array.js) | Easy | | 1470 | [Shuffle the Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1470-shuffle-the-array.js) | Easy | | 1480 | [Running Sum of 1d Array](https://github.com/zhufuge/leetcode-js/blob/master/problems/1480-running-sum-of-1d-array.js) | Easy |