Skip to content

5ooo/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

C++ Solution

# Title Solution Difficulty
1143 Longest Common Subsequence longest-common-subsequence.cpp Medium
1011 Capacity To Ship Packages Within D Days capacity-to-ship-packages-within-d-days.cpp Medium
875 Koko Eating Bananas koko-eating-bananas.cpp Medium
695 Max Area of Island max-area-of-island.cpp Medium
415 Add Strings add-strings.cpp Easy
350 Intersection of Two Arrays II intersection-of-two-arrays-ii.cpp Easy
337 House Robber III house-robber-iii.cpp Medium
322 Coin Change coin-change.cpp Medium
300 Longest Increasing Subsequence longest-increasing-subsequence.cpp Medium
279 Perfect Squares perfect-squares.cpp Medium
239 Sliding Window Maximum sliding-window-maximum.cpp Hard
237 Delete Node in a Linked List delete-node-in-a-linked-list.cpp Easy
234 Palindrome Linked List palindrome-linked-list.cpp Easy
230 Kth Smallest Element in a BST kth-smallest-element-in-a-bst.cpp Medium
215 Kth Largest Element in an Array kth-largest-element-in-an-array.cpp Medium
213 House Robber II house-robber-ii.cpp Medium
206 Reverse Linked List reverse-linked-list.cpp Easy
200 Number of Islands number-of-islands.cpp Medium
198 House Robber house-robber.cpp Medium
160 Intersection of Two Linked Lists intersection-of-two-linked-lists.cpp Easy
152 Maximum Product Subarray maximum-product-subarray.cpp Medium
146 LRU Cache lru-cache.cpp Medium
142 Linked List Cycle II linked-list-cycle-ii.cpp Medium
141 Linked List Cycle linked-list-cycle.cpp Easy
139 Word Break word-break.cpp Medium
124 Binary Tree Maximum Path Sum binary-tree-maximum-path-sum.cpp Hard
121 Best Time to Buy and Sell Stock best-time-to-buy-and-sell-stock.cpp Easy
113 Path Sum II path-sum-ii.cpp Medium
112 Path Sum path-sum.cpp Easy
111 Minimum Depth of Binary Tree minimum-depth-of-binary-tree.cpp Easy
110 Balanced Binary Tree balanced-binary-tree.cpp Easy
108 Convert Sorted Array to Binary Search Tree convert-sorted-array-to-binary-search-tree.cpp Easy
107 Binary Tree Level Order Traversal II binary-tree-level-order-traversal-ii.cpp Medium
106 Construct Binary Tree from Inorder and Postorder Traversal construct-binary-tree-from-inorder-and-postorder-traversal.cpp Medium
105 Construct Binary Tree from Preorder and Inorder Traversal construct-binary-tree-from-preorder-and-inorder-traversal.cpp Medium
104 Maximum Depth of Binary Tree maximum-depth-of-binary-tree.cpp Easy
103 Binary Tree Zigzag Level Order Traversal binary-tree-zigzag-level-order-traversal.cpp Medium
102 Binary Tree Level Order Traversal binary-tree-level-order-traversal.cpp Medium
101 Symmetric Tree symmetric-tree.cpp Easy
100 Same Tree same-tree.cpp Easy
99 Recover Binary Search Tree recover-binary-search-tree.cpp Medium
98 Validate Binary Search Tree validate-binary-search-tree.cpp Medium
96 Unique Binary Search Trees unique-binary-search-trees.cpp Medium
94 Binary Tree Inorder Traversal binary-tree-inorder-traversal.cpp Easy
93 Restore IP Addresses restore-ip-addresses.cpp Medium
92 Reverse Linked List II reverse-linked-list-ii.cpp Medium
91 Decode Ways decode-ways.cpp Medium
75 Sort Colors sort-colors.cpp Medium
70 Climbing Stairs climbing-stairs.cpp Easy
69 Sqrt(x) sqrtx.cpp Easy
66 Plus One plus-one.cpp Easy
62 Unique Paths unique-paths.cpp Medium
53 Maximum Subarray maximum-subarray.cpp Easy
48 Rotate Image rotate-image.cpp Medium
42 Trapping Rain Water trapping-rain-water.cpp Hard
34 Find First and Last Position of Element in Sorted Array find-first-and-last-position-of-element-in-sorted-array.cpp Medium
33 Search in Rotated Sorted Array search-in-rotated-sorted-array.cpp Medium
28 Implement strStr() implement-strstr.cpp Easy
26 Remove Duplicates from Sorted Array remove-duplicates-from-sorted-array.cpp Easy
25 Reverse Nodes in k-Group reverse-nodes-in-k-group.cpp Hard
24 Swap Nodes in Pairs swap-nodes-in-pairs.cpp Medium
23 Merge k Sorted Lists merge-k-sorted-lists.cpp Hard
22 Generate Parentheses generate-parenthesesk.cpp Medium
21 Merge Two Sorted Lists merge-two-sorted-lists.cpp Easy
20 Valid Parentheses valid-parentheses.cpp Easy
19 Remove Nth Node From End of List remove-nth-node-from-end-of-list.cpp Medium
18 4Sum 4sum.cpp Medium
17 Letter Combinations of a Phone Number letter-combinations-of-a-phone-number.cpp Medium
16 3Sum Closest 3sum-closest.cpp Medium
15 3Sum 3sum.cpp Medium
14 Longest Common Prefix longest-common-prefix.cpp Easy
13 Roman to Integer roman-to-integer.cpp Easy
12 Integer to Roman integer-to-roman.cpp Medium
11 Container With Most Water container-with-most-water.cpp Medium
10 Regular Expression Matching regular-expression-matching.cpp Hard
9 Palindrome Number palindrome-number.cpp Easy
8 String to Integer (atoi) string-to-integer-atoi.cpp Medium
7 Reverse Integer reverse-integer.cpp Easy
6 ZigZag Conversion zigzag-conversion.cpp Medium
5 Longest Palindromic Substring longest-palindromic-substring.cpp Medium
4 Median of Two Sorted Arrays median-of-two-sorted-arrays.cpp Hard
3 Longest Substring Without Repeating Characters longest-substring-without-repeating-characters.cpp Medium
2 Add Two Numbers add-two-numbers.cpp Medium
1 Two Sum two-sum.cpp Easy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages