2008 leetcode

This file serves as an introduction to your Knowledge Base, it is displayed on the homepage of your website. Use it to provide more context to your visitors.

406 articles

1. Two Sum 2. Add Two Numbers 3. Longest Substring Without Repeating Characters 5. Longest Palindromic Substring 6. ZigZag Conversion 7. Reverse Integer 8. String to Integer (atoi) 9. Palindrome Number 10. Regular Expression Matching 4. Median of Two Sorted Arrays 11. Container With Most Water 12. Integer to Roman 13. Roman to Integer 14. Longest Common Prefix 15. 3Sum 16. 3Sum Closest 17. Letter Combinations of a Phone Number 18. 4Sum 19. Remove Nth Node From End of List 20. Valid Parentheses 21. Merge Two Sorted Lists 22. Generate Parentheses 23. Merge k Sorted Lists 24. Swap Nodes in Pairs 25. Reverse Nodes in k-Group 26. Remove Duplicates from Sorted Array 27. Remove Element 28. Implement strStr() 29. Divide Two Integers 31. Next Permutation 32. Longest Valid Parentheses 33. Search in Rotated Sorted Array 34. Search for a Range 35. Search Insert Position 36. Valid Sudoku 37. Sudoku Solver 38. Count and Say 39. Combination Sum 40. Combination Sum II 41. First Missing Positive 42. Trapping Rain Water 43. Multiply Strings 44. Wildcard Matching 45. Jump Game II 46. Permutations 47. Permutations II 48. Rotate Image 49. Group Anagrams 50. Pow(x, n) 51. N-Queens 52. N-Queens II 53. Maximum Subarray 54. Spiral Matrix 55. Jump Game 56. Merge Intervals 57. Insert Interval 58. Length of Last Word 59. Spiral Matrix II 60. Permutation Sequence 61. Rotate List 62. Unique Paths 63. Unique Paths II 64. Minimum Path Sum 65. Valid Number 66. Plus One 67. Add Binary 69. Sqrt(x) 70. Climbing Stairs 71. Simplify Path 72. Edit Distance 73. Set Matrix Zeroes 74. Search a 2D Matrix 75. Sort Colors 76. Minimum Window Substring 77. Combinations 78. Subsets 79. Word Search 80. Remove Duplicates from Sorted Array II 81. Search in Rotated Sorted Array II 83. Remove Duplicates from Sorted List 82. Remove Duplicates from Sorted List II 84. Largest Rectangle in Histogram 90. Subsets II 88. Merge Sorted Array 87. Scramble String 91. Decode Ways 94. Binary Tree Inorder Traversal 96. Unique Binary Search Trees 95. Unique Binary Search Trees II 98. Validate Binary Search Tree Iterative for Binary Tree 103. Binary Tree Zigzag Level Order Traversal 102. Binary Tree Level Order Traversal 101. Symmetric Tree 92. Reverse Linked List II 93. Restore IP Addresses 97. Interleaving String 99. Recover Binary Search Tree 104. Maximum Depth of Binary Tree 105. Construct Binary Tree from Preorder and Inorder Traversal 106. Construct Binary Tree from Inorder and Postorder Traversal 107. Binary Tree Level Order Traversal II 108. Convert Sorted Array to Binary Search Tree 110. Balanced Binary Tree 109. Convert Sorted List to Binary Search Tree 111. Minimum Depth of Binary Tree 112. Path Sum 113. Path Sum II 114. Flatten Binary Tree to Linked List 116. Populating Next Right Pointers in Each Node 117. Populating Next Right Pointers in Each Node II 118. Pascal's Triangle 120. Triangle 121. Best Time to Buy and Sell Stock 122. Best Time to Buy and Sell Stock II 123. Best Time to Buy and Sell Stock III 124. Binary Tree Maximum Path Sum 125. Valid Palindrome 127. Word Ladder 129. Sum Root to Leaf Numbers 130. Surrounded Regions 126. Word Ladder II 128. Longest Consecutive Sequence 131. Palindrome Partitioning 133. Clone Graph 134. Gas Station 136. Single Number 137. Single Number II 139. Word Break 140. Word Break II 135. Candy 141. Linked List Cycle 142. Linked List Cycle II 143. Reorder List 144. Binary Tree Preorder Traversal 145. Binary Tree Postorder Traversal 148. Sort List 155. Min Stack 152. Maximum Product Subarray 153. Find Minimum in Rotated Sorted Array 154. Find Minimum in Rotated Sorted Array II 149. Max Points on a Line 159. Longest Substring with At Most Two Distinct Characters 146. LRU Cache 160. Intersection of Two Linked Lists 163. Missing Ranges 157. Read N Characters Given Read4 158. Read N Characters Given Read4 II - Call multiple times 161. One Edit Distance 162. Find Peak Element 165. Compare Version Numbers 166. Fraction to Recurring Decimal 167. Two Sum II - Input array is sorted 168. Excel Sheet Column Title 171. Excel Sheet Column Number 169. Majority Element 170. Two Sum III - Data structure design 198. House Robber 200. Number of Islands 189. Rotate Array 187. Repeated DNA Sequences 186. Reverse Words in a String II 203. Remove Linked List Elements 206. Reverse Linked List 208. Implement Trie (Prefix Tree) 207. Course Schedule 210. Course Schedule II 215. Kth Largest Element in an Array 230. Kth Smallest Element in a BST 212. Word Search II 213. House Robber II 205. Isomorphic Strings 217. Contains Duplicate 219. Contains Duplicate II 223. Rectangle Area 221. Maximal Square 232. Implement Queue using Stacks 235. Lowest Common Ancestor of a Binary Search Tree 236. Lowest Common Ancestor of a Binary Tree 237. Delete Node in a Linked List 238. Product of Array Except Self 234. Palindrome Linked List 209. Minimum Size Subarray Sum 216. Combination Sum III 240. Search a 2D Matrix II 239. Sliding Window Maximum 241. Different Ways to Add Parentheses 242. Valid Anagram 243. Shortest Word Distance 244. Shortest Word Distance II 245. Shortest Word Distance III 246. Strobogrammatic Number 247. Strobogrammatic Number II 248. Strobogrammatic Number III 252. Meeting Rooms 253. Meeting Rooms II 222. Count Complete Tree Nodes 229. Majority Element II 303. Range Sum Query - Immutable 304. Range Sum Query 2D - Immutable 307. Range Sum Query - Mutable 816. Ambiguous Coordinates 817. Linked List Components 815. Bus Routes 813. Largest Sum of Averages 269. Alien Dictionary 490. The Maze 505. The Maze II 499. The Maze III 399. Evaluate Division 753. Cracking the Safe 395. Longest Substring with At Least K Repeating Characters 568. Maximum Vacation Days 337. House Robber III 409. Longest Palindrome 790. Domino and Tromino Tiling 417. Pacific Atlantic Water Flow 312. Burst Balloons bit manipulation 289. Game of Life 283. Move Zeroes 257. Binary Tree Paths 287. Find the Duplicate Number 277. Find the Celebrity 268. Missing Number 251. Flatten 2D Vector 250. Count Univalue Subtrees 211. Add and Search Word - Data structure design 349. Intersection of Two Arrays 350. Intersection of Two Arrays II 273. Integer to English Words 366. Find Leaves of Binary Tree 310. Minimum Height Trees 256. Paint House 228. Summary Ranges 285. Inorder Successor in BST 255. Verify Preorder Sequence in Binary Search Tree 270. Closest Binary Search Tree Value 266. Palindrome Permutation 267. Palindrome Permutation II 278. First Bad Version 344. Reverse String 329. Longest Increasing Path in a Matrix 361. Bomb Enemy 331. Verify Preorder Serialization of a Binary Tree 271. Encode and Decode Strings 297. Serialize and Deserialize Binary Tree 812. Largest Triangle Area 616. Add Bold Tag in String 295. Find Median from Data Stream 480. Sliding Window Median 531. Lonely Pixel I 809. Expressive Words 808. Soup Servings 774. Minimize Max Distance to Gas Station 486. Predict the Winner 394. Decode String 679. 24 Game 387. First Unique Character in a String 734. Sentence Similarity 737. Sentence Similarity II 778. Swim in Rising Water 769. Max Chunks To Make Sorted 768. Max Chunks To Make Sorted II 830. Positions of Large Groups 748. Shortest Completing Word 380. Insert Delete GetRandom O(1) 463. Island Perimeter 783. Minimum Distance Between BST Nodes 652. Find Duplicate Subtrees 659. Split Array into Consecutive Subsequences 833. Find And Replace in String 681. Next Closest Time 684. Redundant Connection 685. Redundant Connection II 760. Find Anagram Mappings 530. Minimum Absolute Difference in BST 305. Number of Islands II 422. Valid Word Square 448. Find All Numbers Disappeared in an Array 758. Bold Words in String 658. Find K Closest Elements 686. Repeated String Match 836. Rectangle Overlap 265. Paint House II 275. H-Index II 525. Contiguous Array 750. Number Of Corner Rectangles 824. Goat Latin 825. Friends Of Appropriate Ages 266. Palindrome Permutation 267. Palindrome Permutation II 333. Largest BST Subtree 379. Design Phone Directory 385. Mini Parser 164. Maximum Gap 255. Verify Preorder Sequence in Binary Search Tree 293. Flip Game 294. Flip Game II 443. String Compression 250 507. Perfect Number 479. Largest Palindrome Product 370. Range Addition 327. Count of Range Sum 767. Reorganize String 358. Rearrange String k Distance Apart 359. Logger Rate Limiter 535. Encode and Decode TinyURL 849. Maximize Distance to Closest Person 806. Number of Lines To Write String 819. Most Common Word 281. Zigzag Iterator 562. Longest Line of Consecutive One in Matrix 716. Max Stack 298. Binary Tree Longest Consecutive Sequence 814. Binary Tree Pruning 280. Wiggle Sort 720. Longest Word in Dictionary 318. Maximum Product of Word Lengths 201. Bitwise AND of Numbers Range 260. Single Number III 190. Reverse Bits 476. Number Complement 804. Unique Morse Code Words 306. Additive Number 842. Split Array into Fibonacci Sequence 800. Similar RGB Color 659. Split Array into Consecutive Subsequences 481. Magical String 355. Design Twitter 821. Shortest Distance to a Character 788. Rotated Digits 425. Word Squares 797. All Paths From Source to Target 801. Minimum Swaps To Make Sequences Increasing 791. Custom Sort String 296. Best Meeting Point 484. Find Permutation 840. Magic Squares In Grid 835. Image Overlap 408. Valid Word Abbreviation 439. Ternary Expression Parser 813. Largest Sum of Averages 320. Generalized Abbreviation 796. Rotate String 853. Car Fleet 838. Push Dominoes 844. Backspace String Compare 829. Consecutive Numbers Sum 717. 1-bit and 2-bit Characters 807. Max Increase to Keep City Skyline 397. Integer Replacement 636. Exclusive Time of Functions 794. Valid Tic-Tac-Toe State 272. Closest Binary Search Tree Value II 249. Group Shifted Strings 405. Convert a Number to Hexadecimal 745. Prefix and Suffix Search 642. Design Search Autocomplete System 477. Total Hamming Distance 410. Split Array Largest Sum 388. Longest Absolute File Path 859. Buddy Strings 858. Mirror Reflection 856. Score of Parentheses 302. Smallest Rectangle Enclosing Black Pixels 30. Substring with Concatenation of All Words 360. Sort Transformed Array 330. Patching Array 855. Exam Room 852. Peak Index in a Mountain Array 316. Remove Duplicate Letters 369. Plus One Linked List 420. Strong Password Checker 233. Number of Digit One 763. Partition Labels 789. Escape The Ghosts 780. Reaching Points 846. Hand of Straights 680. Valid Palindrome II 261. Graph Valid Tree 173. Binary Search Tree Iterator 301. Remove Invalid Parentheses 224. Basic Calculator 227. Basic Calculator II 772. Basic Calculator III 464. Can I Win 723. Candy Crush 653. Two Sum IV - Input is a BST 721. Accounts Merge 621. Task Scheduler 322. Coin Change 518. Coin Change 2 314. Binary Tree Vertical Order Traversal 639. Decode Ways II 863. All Nodes Distance K in Binary Tree 339. Nested List Weight Sum 364. Nested List Weight Sum II 343. Integer Break 373. Find K Pairs with Smallest Sums 516. Longest Palindromic Subsequence 529. Minesweeper 426. Convert Binary Search Tree to Sorted Doubly Linked List 336. Palindrome Pairs 319. Bulb Switcher

results for ""

    No results matching ""