├── .gitignore ├── README.md └── note ├── 1141. 查询最近30天用户活跃数.md ├── 1142. 过去30天的用户活跃数II.md ├── 1148.文章浏览I.md ├── 1149.文章浏览II.md ├── 1214.查找两棵二叉搜索树之和.md ├── 156. Binary-Tree-Upside-Down.md ├── 157. Read-N-Characters-Given-Read4.md ├── 158. Read-N-Characters-Given-Read4-II---Call-multiple-times.md ├── 159. Longest-Substring-with-At-Most-Two-Distinct-Characters.md ├── 161. One-Edit-Distance.md ├── 163. Missing-Ranges.md ├── 170. Two-Sum-III---Data-structure-design.md ├── 186. Reverse-Words-in-a-String-II.md ├── 243. Shortest-Word-Distance.md ├── 244. Shortest-Word-Distance-II.md ├── 245. Shortest-Word-Distance-III.md ├── 246. Strobogrammatic-Number.md ├── 247. Strobogrammatic-Number-II.md ├── 248. Strobogrammatic-Number-III.md ├── 249. Group-Shifted-Strings.md ├── 250. Count-Univalue-Subtrees.md ├── 251. Flatten-2D-Vector.md ├── 252. Meeting-Rooms.md ├── 253. Meeting-Rooms-II.md ├── 254. Factor-Combinations.md ├── 255. Verify-Preorder-Sequence-in-Binary-Search-Tree.md ├── 256. Paint-House.md ├── 259. 3Sum-Smaller.md ├── 261. Graph-Valid-Tree.md ├── 265. Paint-House-II.md ├── 266. Palindrome-Permutation.md ├── 267. Palindrome-Permutation-II.md ├── 269. Alien-Dictionary.md ├── 270. Closest-Binary-Search-Tree-Value.md ├── 271. Encode-and-Decode-Strings.md ├── 272. Closest-Binary-Search-Tree-Value-II.md ├── 276. Paint-Fence.md ├── 277. Find-the-Celebrity.md ├── 280. Wiggle-Sort.md ├── 281. Zigzag-Iterator.md ├── 285. Inorder-Successor-in-BST.md ├── 286. Walls-and-Gates.md ├── 288. Unique-Word-Abbreviation.md ├── 291. Word-Pattern-II.md ├── 293. Flip-Game.md ├── 294. Flip-Game-II.md ├── 296. Best-Meeting-Point.md ├── 298. Binary-Tree-Longest-Consecutive-Sequence.md ├── 302. Smallest-Rectangle-Enclosing-Black-Pixels.md ├── 305. Number-of-Islands-II.md ├── 308. Range-Sum-Query-2D---Mutable.md ├── 311. Sparse-Matrix-Multiplication.md ├── 314. Binary-Tree-Vertical-Order-Traversal.md ├── 317. Shortest-Distance-from-All-Buildings.md ├── 320. Generalized-Abbreviation.md ├── 323. Number-of-Connected-Components-in-an-Undirected-Graph.md ├── 325. Maximum-Size-Subarray-Sum-Equals-k.md ├── 333. Largest-BST-Subtree.md ├── 339. Nested-List-Weight-Sum.md ├── 340. Longest-Substring-with-At-Most-K-Distinct-Characters.md ├── 346. Moving-Average-from-Data-Stream.md ├── 348. Design-Tic-Tac-Toe.md ├── 351. Android-Unlock-Patterns.md ├── 353. Design-Snake-Game.md ├── 356. Line-Reflection.md ├── 358. Rearrange-String-k-Distance-Apart.md ├── 359. Logger-Rate-Limiter.md ├── 360. Sort-Transformed-Array.md ├── 361. Bomb-Enemy.md ├── 362. Design-Hit-Counter.md ├── 364. Nested-List-Weight-Sum-II.md ├── 366. Find-Leaves-of-Binary-Tree.md ├── 369. Plus-One-Linked-List.md ├── 370. Range-Addition.md ├── 379. Design-Phone-Directory.md ├── 408. Valid-Word-Abbreviation.md ├── 411. Minimum-Unique-Word-Abbreviation.md ├── 418. Sentence-Screen-Fitting.md ├── 422. Valid-Word-Square.md ├── 425. Word-Squares.md ├── 439. Ternary-Expression-Parser.md ├── 444. Sequence-Reconstruction.md ├── 465. Optimal-Account-Balancing.md ├── 469. Convex-Polygon.md ├── 471. Encode-String-with-Shortest-Length.md ├── 484. Find-Permutation.md ├── 487. Max-Consecutive-Ones-II.md ├── 490. The-Maze.md ├── 499. The-Maze-III.md ├── 505. The-Maze-II.md ├── 527. Word-Abbreviation.md ├── 531. Lonely-Pixel-I.md ├── 533. Lonely-Pixel-II.md ├── 536. Construct-Binary-Tree-from-String.md ├── 544. Output-Contest-Matches.md ├── 545. Boundary-of-Binary-Tree.md ├── 548. Split-Array-with-Equal-Sum.md ├── 549. Binary-Tree-Longest-Consecutive-Sequence-II.md ├── 555. Split-Concatenated-Strings.md ├── 562. Longest-Line-of-Consecutive-One-in-Matrix.md ├── 568. Maximum-Vacation-Days.md ├── 569. Median-Employee-Salary.md ├── 570. Managers-with-at-Least-5-Direct-Reports.md ├── 571. Find-Median-Given-Frequency-of-Numbers.md ├── 573. Squirrel-Simulation.md ├── 574. Winning-Candidate.md ├── 577. Employee-Bonus.md ├── 578. Get-Highest-Answer-Rate-Question.md ├── 579. Find-Cumulative-Salary-of-an-Employee.md ├── 580. Count-Student-Number-in-Departments.md ├── 582. Kill-Process.md ├── 584. Find-Customer-Referee.md ├── 585. Investments-in-2016.md ├── 586. Customer-Placing-the-Largest-Number-of-Orders.md ├── 588. Design-In-Memory-File-System.md ├── 597. Friend-Requests-I:-Overall-Acceptance-Rate.md ├── 602. Friend-Requests-II:-Who-Has-the-Most-Friends.md ├── 603. Consecutive-Available-Seats.md ├── 604. Design-Compressed-String-Iterator.md ├── 607. Sales-Person.md ├── 608. Tree-Node.md ├── 610. Triangle-Judgement.md ├── 612. Shortest-Distance-in-a-Plane.md ├── 613. Shortest-Distance-in-a-Line.md ├── 614. Second-Degree-Follower.md ├── 615. Average-Salary:-Departments-VS-Company.md ├── 616. Add-Bold-Tag-in-String.md ├── 618. Students-Report-By-Geography.md ├── 619. Biggest-Single-Number.md ├── 624. Maximum-Distance-in-Arrays.md ├── 625. Minimum-Factorization.md ├── 631. Design-Excel-Sum-Formula.md ├── 634. Find-the-Derangement-of-An-Array.md ├── 635. Design-Log-Storage-System.md ├── 642. Design-Search-Autocomplete-System.md ├── 644. Maximum-Average-Subarray-II.md ├── 651. 4-Keys-Keyboard.md ├── 656. Coin-Path.md ├── 660. Remove-9.md ├── 663. Equal-Tree-Partition.md ├── 666. Path-Sum-IV.md ├── 681. Next-Closest-Time.md ├── 683. K-Empty-Slots.md ├── 694. Number-of-Distinct-Islands.md ├── 711. Number-of-Distinct-Islands-II.md ├── 716. Max-Stack.md ├── 723. Candy-Crush.md ├── 727. Minimum-Window-Subsequence.md ├── 734. Sentence-Similarity.md ├── 737. Sentence-Similarity-II.md ├── 743. Closest-Leaf-in-a-Binary-Tree.md ├── 751. Number-Of-Corner-Rectangles.md ├── 752. IP-to-CIDR.md ├── 756. Pour-Water.md ├── 758. Convert-Binary-Search-Tree-to-Sorted-Doubly-Linked-List.md ├── 760. Bold-Words-in-String.md ├── 761. Employee-Free-Time.md ├── 762. Find-Anagram-Mappings.md ├── 765. Serialize-and-Deserialize-N-ary-Tree.md ├── 771. Encode-N-ary-Tree-to-Binary-Tree.md ├── 785. Basic-Calculator-III.md ├── 786. Search-in-a-Sorted-Array-of-Unknown-Size.md ├── 788. Minimize-Max-Distance-to-Gas-Station.md ├── 791. Split-BST.md ├── 818. Similar-RGB-Color.md ├── 850. Insert-into-a-Cyclic-Sorted-List.md └── 865. Robot-Room-Cleaner.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/README.md -------------------------------------------------------------------------------- /note/1141. 查询最近30天用户活跃数.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/1141. 查询最近30天用户活跃数.md -------------------------------------------------------------------------------- /note/1142. 过去30天的用户活跃数II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/1142. 过去30天的用户活跃数II.md -------------------------------------------------------------------------------- /note/1148.文章浏览I.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/1148.文章浏览I.md -------------------------------------------------------------------------------- /note/1149.文章浏览II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/1149.文章浏览II.md -------------------------------------------------------------------------------- /note/1214.查找两棵二叉搜索树之和.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/1214.查找两棵二叉搜索树之和.md -------------------------------------------------------------------------------- /note/156. Binary-Tree-Upside-Down.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/156. Binary-Tree-Upside-Down.md -------------------------------------------------------------------------------- /note/157. Read-N-Characters-Given-Read4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/157. Read-N-Characters-Given-Read4.md -------------------------------------------------------------------------------- /note/158. Read-N-Characters-Given-Read4-II---Call-multiple-times.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/158. Read-N-Characters-Given-Read4-II---Call-multiple-times.md -------------------------------------------------------------------------------- /note/159. Longest-Substring-with-At-Most-Two-Distinct-Characters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/159. Longest-Substring-with-At-Most-Two-Distinct-Characters.md -------------------------------------------------------------------------------- /note/161. One-Edit-Distance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/161. One-Edit-Distance.md -------------------------------------------------------------------------------- /note/163. Missing-Ranges.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/163. Missing-Ranges.md -------------------------------------------------------------------------------- /note/170. Two-Sum-III---Data-structure-design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/170. Two-Sum-III---Data-structure-design.md -------------------------------------------------------------------------------- /note/186. Reverse-Words-in-a-String-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/186. Reverse-Words-in-a-String-II.md -------------------------------------------------------------------------------- /note/243. Shortest-Word-Distance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/243. Shortest-Word-Distance.md -------------------------------------------------------------------------------- /note/244. Shortest-Word-Distance-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/244. Shortest-Word-Distance-II.md -------------------------------------------------------------------------------- /note/245. Shortest-Word-Distance-III.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/245. Shortest-Word-Distance-III.md -------------------------------------------------------------------------------- /note/246. Strobogrammatic-Number.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/246. Strobogrammatic-Number.md -------------------------------------------------------------------------------- /note/247. Strobogrammatic-Number-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/247. Strobogrammatic-Number-II.md -------------------------------------------------------------------------------- /note/248. Strobogrammatic-Number-III.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/248. Strobogrammatic-Number-III.md -------------------------------------------------------------------------------- /note/249. Group-Shifted-Strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/249. Group-Shifted-Strings.md -------------------------------------------------------------------------------- /note/250. Count-Univalue-Subtrees.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/250. Count-Univalue-Subtrees.md -------------------------------------------------------------------------------- /note/251. Flatten-2D-Vector.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/251. Flatten-2D-Vector.md -------------------------------------------------------------------------------- /note/252. Meeting-Rooms.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/252. Meeting-Rooms.md -------------------------------------------------------------------------------- /note/253. Meeting-Rooms-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/253. Meeting-Rooms-II.md -------------------------------------------------------------------------------- /note/254. Factor-Combinations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/254. Factor-Combinations.md -------------------------------------------------------------------------------- /note/255. Verify-Preorder-Sequence-in-Binary-Search-Tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/255. Verify-Preorder-Sequence-in-Binary-Search-Tree.md -------------------------------------------------------------------------------- /note/256. Paint-House.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/256. Paint-House.md -------------------------------------------------------------------------------- /note/259. 3Sum-Smaller.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/259. 3Sum-Smaller.md -------------------------------------------------------------------------------- /note/261. Graph-Valid-Tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/261. Graph-Valid-Tree.md -------------------------------------------------------------------------------- /note/265. Paint-House-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/265. Paint-House-II.md -------------------------------------------------------------------------------- /note/266. Palindrome-Permutation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/266. Palindrome-Permutation.md -------------------------------------------------------------------------------- /note/267. Palindrome-Permutation-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/267. Palindrome-Permutation-II.md -------------------------------------------------------------------------------- /note/269. Alien-Dictionary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/269. Alien-Dictionary.md -------------------------------------------------------------------------------- /note/270. Closest-Binary-Search-Tree-Value.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/270. Closest-Binary-Search-Tree-Value.md -------------------------------------------------------------------------------- /note/271. Encode-and-Decode-Strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/271. Encode-and-Decode-Strings.md -------------------------------------------------------------------------------- /note/272. Closest-Binary-Search-Tree-Value-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/272. Closest-Binary-Search-Tree-Value-II.md -------------------------------------------------------------------------------- /note/276. Paint-Fence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/276. Paint-Fence.md -------------------------------------------------------------------------------- /note/277. Find-the-Celebrity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/277. Find-the-Celebrity.md -------------------------------------------------------------------------------- /note/280. Wiggle-Sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/280. Wiggle-Sort.md -------------------------------------------------------------------------------- /note/281. Zigzag-Iterator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/281. Zigzag-Iterator.md -------------------------------------------------------------------------------- /note/285. Inorder-Successor-in-BST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/285. Inorder-Successor-in-BST.md -------------------------------------------------------------------------------- /note/286. Walls-and-Gates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/286. Walls-and-Gates.md -------------------------------------------------------------------------------- /note/288. Unique-Word-Abbreviation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/288. Unique-Word-Abbreviation.md -------------------------------------------------------------------------------- /note/291. Word-Pattern-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/291. Word-Pattern-II.md -------------------------------------------------------------------------------- /note/293. Flip-Game.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/293. Flip-Game.md -------------------------------------------------------------------------------- /note/294. Flip-Game-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/294. Flip-Game-II.md -------------------------------------------------------------------------------- /note/296. Best-Meeting-Point.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/296. Best-Meeting-Point.md -------------------------------------------------------------------------------- /note/298. Binary-Tree-Longest-Consecutive-Sequence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/298. Binary-Tree-Longest-Consecutive-Sequence.md -------------------------------------------------------------------------------- /note/302. Smallest-Rectangle-Enclosing-Black-Pixels.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/302. Smallest-Rectangle-Enclosing-Black-Pixels.md -------------------------------------------------------------------------------- /note/305. Number-of-Islands-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/305. Number-of-Islands-II.md -------------------------------------------------------------------------------- /note/308. Range-Sum-Query-2D---Mutable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/308. Range-Sum-Query-2D---Mutable.md -------------------------------------------------------------------------------- /note/311. Sparse-Matrix-Multiplication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/311. Sparse-Matrix-Multiplication.md -------------------------------------------------------------------------------- /note/314. Binary-Tree-Vertical-Order-Traversal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/314. Binary-Tree-Vertical-Order-Traversal.md -------------------------------------------------------------------------------- /note/317. Shortest-Distance-from-All-Buildings.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/320. Generalized-Abbreviation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/323. Number-of-Connected-Components-in-an-Undirected-Graph.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/325. Maximum-Size-Subarray-Sum-Equals-k.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/333. Largest-BST-Subtree.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/339. Nested-List-Weight-Sum.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/339. Nested-List-Weight-Sum.md -------------------------------------------------------------------------------- /note/340. Longest-Substring-with-At-Most-K-Distinct-Characters.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/346. Moving-Average-from-Data-Stream.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/346. Moving-Average-from-Data-Stream.md -------------------------------------------------------------------------------- /note/348. Design-Tic-Tac-Toe.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/351. Android-Unlock-Patterns.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/353. Design-Snake-Game.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/356. Line-Reflection.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/358. Rearrange-String-k-Distance-Apart.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/359. Logger-Rate-Limiter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/359. Logger-Rate-Limiter.md -------------------------------------------------------------------------------- /note/360. Sort-Transformed-Array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/360. Sort-Transformed-Array.md -------------------------------------------------------------------------------- /note/361. Bomb-Enemy.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/362. Design-Hit-Counter.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/364. Nested-List-Weight-Sum-II.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/364. Nested-List-Weight-Sum-II.md -------------------------------------------------------------------------------- /note/366. Find-Leaves-of-Binary-Tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/366. Find-Leaves-of-Binary-Tree.md -------------------------------------------------------------------------------- /note/369. Plus-One-Linked-List.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/369. Plus-One-Linked-List.md -------------------------------------------------------------------------------- /note/370. Range-Addition.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/370. Range-Addition.md -------------------------------------------------------------------------------- /note/379. Design-Phone-Directory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/379. Design-Phone-Directory.md -------------------------------------------------------------------------------- /note/408. Valid-Word-Abbreviation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/411. Minimum-Unique-Word-Abbreviation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/418. Sentence-Screen-Fitting.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/422. Valid-Word-Square.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/425. Word-Squares.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/439. Ternary-Expression-Parser.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/444. Sequence-Reconstruction.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/465. Optimal-Account-Balancing.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/469. Convex-Polygon.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/471. Encode-String-with-Shortest-Length.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/484. Find-Permutation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/487. Max-Consecutive-Ones-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/490. The-Maze.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/499. The-Maze-III.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/505. The-Maze-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/527. Word-Abbreviation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/531. Lonely-Pixel-I.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/533. Lonely-Pixel-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/536. Construct-Binary-Tree-from-String.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/544. Output-Contest-Matches.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/545. Boundary-of-Binary-Tree.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/548. Split-Array-with-Equal-Sum.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/549. Binary-Tree-Longest-Consecutive-Sequence-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/555. Split-Concatenated-Strings.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/562. Longest-Line-of-Consecutive-One-in-Matrix.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/568. Maximum-Vacation-Days.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/569. Median-Employee-Salary.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/570. Managers-with-at-Least-5-Direct-Reports.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/571. Find-Median-Given-Frequency-of-Numbers.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/573. Squirrel-Simulation.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/574. Winning-Candidate.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/577. Employee-Bonus.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/578. Get-Highest-Answer-Rate-Question.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/579. Find-Cumulative-Salary-of-an-Employee.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/580. Count-Student-Number-in-Departments.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/582. Kill-Process.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/584. Find-Customer-Referee.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/585. Investments-in-2016.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/586. Customer-Placing-the-Largest-Number-of-Orders.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/588. Design-In-Memory-File-System.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/597. Friend-Requests-I:-Overall-Acceptance-Rate.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/602. Friend-Requests-II:-Who-Has-the-Most-Friends.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/603. Consecutive-Available-Seats.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/604. Design-Compressed-String-Iterator.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/607. Sales-Person.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/608. Tree-Node.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/610. Triangle-Judgement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/610. Triangle-Judgement.md -------------------------------------------------------------------------------- /note/612. Shortest-Distance-in-a-Plane.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/612. Shortest-Distance-in-a-Plane.md -------------------------------------------------------------------------------- /note/613. Shortest-Distance-in-a-Line.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/613. Shortest-Distance-in-a-Line.md -------------------------------------------------------------------------------- /note/614. Second-Degree-Follower.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/615. Average-Salary:-Departments-VS-Company.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/616. Add-Bold-Tag-in-String.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/618. Students-Report-By-Geography.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/619. Biggest-Single-Number.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/619. Biggest-Single-Number.md -------------------------------------------------------------------------------- /note/624. Maximum-Distance-in-Arrays.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/624. Maximum-Distance-in-Arrays.md -------------------------------------------------------------------------------- /note/625. Minimum-Factorization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/625. Minimum-Factorization.md -------------------------------------------------------------------------------- /note/631. Design-Excel-Sum-Formula.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/634. Find-the-Derangement-of-An-Array.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/635. Design-Log-Storage-System.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/642. Design-Search-Autocomplete-System.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/644. Maximum-Average-Subarray-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/651. 4-Keys-Keyboard.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/656. Coin-Path.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/660. Remove-9.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/663. Equal-Tree-Partition.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/666. Path-Sum-IV.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/681. Next-Closest-Time.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/683. K-Empty-Slots.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/694. Number-of-Distinct-Islands.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/711. Number-of-Distinct-Islands-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/716. Max-Stack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/716. Max-Stack.md -------------------------------------------------------------------------------- /note/723. Candy-Crush.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/727. Minimum-Window-Subsequence.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/734. Sentence-Similarity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/734. Sentence-Similarity.md -------------------------------------------------------------------------------- /note/737. Sentence-Similarity-II.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/743. Closest-Leaf-in-a-Binary-Tree.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/751. Number-Of-Corner-Rectangles.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/752. IP-to-CIDR.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/756. Pour-Water.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/758. Convert-Binary-Search-Tree-to-Sorted-Doubly-Linked-List.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/760. Bold-Words-in-String.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/761. Employee-Free-Time.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/762. Find-Anagram-Mappings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongpingfan/Leetcode-Premium/HEAD/note/762. Find-Anagram-Mappings.md -------------------------------------------------------------------------------- /note/765. Serialize-and-Deserialize-N-ary-Tree.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/771. Encode-N-ary-Tree-to-Binary-Tree.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/785. Basic-Calculator-III.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/786. Search-in-a-Sorted-Array-of-Unknown-Size.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/788. Minimize-Max-Distance-to-Gas-Station.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/791. Split-BST.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/818. Similar-RGB-Color.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/850. Insert-into-a-Cyclic-Sorted-List.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | -------------------------------------------------------------------------------- /note/865. Robot-Room-Cleaner.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | --------------------------------------------------------------------------------