Problems have been solved: 171
Problem | Cpp | Java | JS | Python | Go | Kotlin |
---|---|---|---|---|---|---|
0001. Two Sum | cpp | java | js | py | go | kt |
0003. Longest Substring Without Repeating Characters | go | kt | ||||
0004. Median of Two Sorted Arrays | kt | |||||
0005. Longest Palindromic Substring | cpp | java | kt | |||
0006. ZigZag Conversion | java | kt | ||||
0007. Reverse Integer | kt | |||||
0009. Palindrome Number | kt | |||||
0012. Integer to Roman | kt | |||||
0013. Roman to Integer | kt | |||||
0017. Letter Combinations of a Phone Number | kt | |||||
0020. Valid Parentheses | cpp | kt | ||||
0022. Generate Parentheses | cpp | |||||
0024. Swap Nodes in Pairs | cpp | java | ||||
0026. Remove Duplicates from Sorted Array | kt | |||||
0027. Remove Element | cpp | kt | ||||
0034. Search for a Range | kt | |||||
0035. Search Insert Position | kt | |||||
0046. Permutations | kt | |||||
0047. Permutations II | kt | |||||
0050. Pow(x, n) | kt | |||||
0051. N Queens | kt | |||||
0058. Length of Last Word | cpp | kt | ||||
0064. Minimum Path Sum | kt | |||||
0066. Plus One | cpp | py | ||||
0067. Add Binary | kt | |||||
0069. Sqrt(x) | kt | |||||
0070. Climbing Stairs | kt | |||||
0071. Simplify Path | py | kt | ||||
0075. Sort Colors | java | js | py | kt | ||
0077. Combinations | kt | |||||
0079. Word Search | kt | |||||
0083. Remove Duplicates from Sorted List | kt | |||||
0088. Merge Sorted Array | kt | |||||
0091. Decode Ways | kt | |||||
0094. Binary Tree Inorder Traversal | kt | |||||
0098. Validate Binary Search Tree | cpp | |||||
0100. Same Tree | kt | |||||
0102. Binary Tree Level Order Traversal | cpp | kt | ||||
0103. Binary Tree Zigzag Level Order Traversal | kt | |||||
0104. Maximum Depth of Binary Tree | cpp | kt | ||||
0105. Construct Binary Tree from Preorder and Inorder Traversal | java | kt | ||||
0106. Construct Binary Tree from Inorder and Postorder Traversal | java | kt | ||||
0111. Minimum Depth of Binary Tree | cpp | kt | ||||
0112. Path Sum | kt | |||||
0118. Pascal's Triangle | java | py | kt | |||
0120. Triangle | cpp | kt | ||||
0121. Best Time to Buy and Sell Stock | cpp | java | js | py | go | kt |
0122. Best Time to Buy and Sell Stock II | kt | |||||
0125. Valid Palindrome | kt | |||||
0127. Word Ladder | java | kt | ||||
0128. Longest Consecutive Sequence | kt | |||||
0130. Surrounded Regions | kt | |||||
0136. Single Number | kt | |||||
0141. Linked List Cycle | cpp | |||||
0142. Linked List Cycle II | cpp | |||||
0144. Binary Tree Preorder Traversal | kt | |||||
0145. Binary Tree Postorder Traversal | kt | |||||
0148. Sort List | java | kt | ||||
0150. Evaluate Reverse Polish Notation | java | js | py | kt | ||
0151. Reverse Words in a String | java | |||||
0160. Intersection of Two Linked Lists | cpp | |||||
0165. Compare Version Numbers | kt | |||||
0167. Two Sum II - Input array is sorted | java | py | kt | |||
0169. Majority Element | go | |||||
0179. Largest Number | java | kt | ||||
0198. House Robber | kt | |||||
0199. Binary Tree Right Side View | kt | |||||
0200. Number of Islands | kt | |||||
0202. Happy Number | kt | |||||
0203. Remove Linked List Elements | kt | |||||
0204. Count Primes | kt | |||||
0205. Isomorphic Strings | kt | |||||
0206. Reverse Linked List | cpp | kt | ||||
0209. Minimum Size Subarray Sum | java | py | kt | |||
0215. Kth Largest Element in an Array | kt | |||||
0217. Contains Duplicate | cpp | kt | ||||
0219. Contains Duplicate II | kt | |||||
0220. Contains Duplicate III | kt | |||||
0225. Implement Stack using Queues | cpp | |||||
0226. Invert Binary Tree | kt | |||||
0230. Kth Smallest Element in a BST | kt | |||||
0231. Power of Two | kt | |||||
0232. Implement Queue using Stacks | cpp | |||||
0235. Lowest Common Ancestor of a Binary Search Tree | java | |||||
0241. Different Ways to Add Parentheses | kt | |||||
0242. Valid Anagram | kt | |||||
0257. Binary Tree Paths | kt | |||||
0258. Add Digits | kt | |||||
0260. Single Number III | kt | |||||
0263. Ugly Number | kt | |||||
0268. Missing Number | kt | |||||
0279. Perfect Squares | kt | |||||
0283. Move Zeroes | java | js | py | kt | ||
0287. Find the Duplicate Number | cpp | |||||
0300. Longest Increasing Subsequence | kt | |||||
0322. Coin Change | kt | |||||
0326. Power of Three | kt | |||||
0342. Power of Four | kt | |||||
0343. Integer Break | kt | |||||
0344. Reverse String | kt | |||||
0345. Reverse Vowels of a String | kt | |||||
0347. Top K Frequent Elements | kt | |||||
0349. Intersection of Two Arrays | kt | |||||
0350. Intersection of Two Arrays II | kt | |||||
0371. Sum of Two Integers | kt | |||||
0372. Super Pow | java | kt | ||||
0389. Find the Difference | cpp | kt | ||||
0392. Is Subsequence | java | kt | ||||
0397. Integer Replacement | kt | |||||
0405. Convert a Number to Hexadecimal | kt | |||||
0412. Fizz Buzz | kt | |||||
0415. Add Strings | kt | |||||
0416. Partition Equal Subset Sum | kt | |||||
0435. Non overlapping Intervals | kt | |||||
0437. Path Sum III | kt | |||||
0441. Arranging Coins | cpp | |||||
0447. Number of Boomeranges | kt | |||||
0448. Find All Numbers Disappeared in an Array | kt | |||||
0451. Sort Characters By Frequency | kt | |||||
0454. 4Sum II | kt | |||||
0455. Assign Cookies | kt | |||||
0456. 132 Pattern | kt | |||||
0461. Hamming Distance | kt | |||||
0476. Number Complement | kt | |||||
0496. Next Greater Element I | cpp | |||||
0498. Diagonal Traverse | kt | |||||
0500. Keyboard Row | kt | |||||
0504. Base 7 | kt | |||||
0509. Fibonacci Number | cpp | java | js | py | go | kt |
0513. Find Bottom Left Tree Value | cpp | kt | ||||
0520. Detect Capital | kt | |||||
0530. Minimum Absolute Difference in BST | kt | |||||
0537. Complex Number Multiplication | java | |||||
0540. Single Element in a Sorted Array | kt | |||||
0541. Reverse String II | kt | |||||
0543. Diameter of Binary Tree | go | |||||
0547. Friend Circles | cpp | java | kt | |||
0561. Array Partition I | kt | |||||
0566. Reshpae the Matrix | kt | |||||
0567. Permutation in String | kt | |||||
0572. Subtree of Another Tree | kt | |||||
0592. Fraction Addition and Subtraction | kt | |||||
0611. Valid Triangle Number | kt | |||||
0643. Maximum Average Subarray I | kt | |||||
0648. Replace Words | kt | |||||
0665. Non-decreasing Array | kt | |||||
0684. Redundant Connection | cpp | java | py | kt | ||
0693. Binary Number with Alternating Bits | kt | |||||
0698. Partition to K Equal Sum Subsets | kt | |||||
0721. Accounts Merge | java | kt | ||||
0728. Self Dividing Numbers | kt | |||||
0733. Flood Fill | kt | |||||
0738. Monotone Increasing Digits | kt | |||||
0745. Prefix and Suffix Search | kt | |||||
0747. Largest Number At Least Twice of Others | kt | |||||
0760. Find Anagram Mappings | kt | |||||
0762. Prime Number of Set Bits in Binary Representation | kt | |||||
0771. Jewels and Stones | kt | |||||
0780. Reaching Points | kt | |||||
0783. Minimum Distance Between BST Nodes | kt | |||||
0784. Letter Case Permutation | kt | |||||
0788. Rotated Digits | kt | |||||
0789. Escape The Ghosts | kt | |||||
0791. Custom Sort String | kt | |||||
0796. Rotate String | kt | |||||
0797. All Paths From Source to Target | kt | |||||
0824. Goat Latin | cpp | |||||
0860. Lemonade Change | cpp | |||||
0872. Leaf-Similar Trees | cpp | |||||
0961. N-Repeated Element in Size 2N Array | cpp | |||||
1103. Distribute Candies to People | cpp | java |
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problemset/all/
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。