Skip to content

Collection of LeetCode questions to ace the coding interview!

Notifications You must be signed in to change notification settings

ykdy3951/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Collection of LeetCode questions to ace the coding interview!

Table of Contents

# Title Solution Difficulty
1 Two Sum Python, Rust Easy
2 Add Two Numbers Python, Rust Medium
3 Longest Substring Without Repeating Characters Rust Medium
4 Median of Two Sorted Arrays Rust Hard
5 Longest Palindromic Substring Rust Medium
6 Zigzag Conversion Rust Medium
7 Reverse Integer Rust Medium
8 String to Integer (atoi) Rust Medium
9 Palindrome Number Rust Easy
10 Regular Expression Matching Python Hard
11 Container With Most Water Rust Medium
12 Integer to Roman Rust Medium
13 Roman to Integer Rust Easy
14 Longest Common Prefix Rust Easy
15 3Sum Rust Medium
16 3Sum Closest Rust Medium
17 Letter Combinations of a Phone Number Python Medium
18 4Sum Python Medium
19 Remove Nth Node From End of List Python Medium
20 Valid Parentheses Rust Easy
21 Merge Two Sorted Lists Rust Easy
22 Generate Parentheses Python Medium
23 Merge k Sorted Lists Python Hard
24 Swap Nodes in Pairs Python Medium
26 Remove Duplicates from Sorted Array Rust Easy
27 Remove Element Rust Easy
28 Find the Index of the First Occurrence in a String Rust Easy
29 Divide Two Integers Python Medium
30 Substring with Concatenation of All Words Python Hard
31 Next Permutation Python Medium
33 Search in Rotated Sorted Array Python Medium
34 Find First and Last Position of Element in Sorted Array Python Medium
35 Search Insert Position Rust Easy
36 Valid Sudoku Rust Medium
38 Count and Say Python Medium
39 Combination Sum Python Medium
40 Combination Sum II Python Medium
43 Multiply Strings Python Medium
45 Jump Game II Rust Medium
46 Permutations Python Medium
47 Permutations II Python Medium
48 Rotate Image Python Medium
49 Group Anagrams Python Medium
50 Pow(x, n) Python Medium
51 N-Queens Python Hard
52 N-Queens II Python Hard
53 Maximum Subarray Rust Medium
54 Spiral Matrix Python Medium
55 Jump Game Python Medium
56 Merge Intervals Python Medium
57 Insert Interval Python Medium
58 Length of Last Word Rust Easy
59 Spiral Matrix II Python Medium
61 Rotate List Python Medium
62 Unique Paths Python Medium
65 Valid Number Python Hard
66 Plus One Rust Easy
67 Add Binary Rust Easy
69 Sqrt(x) Rust Easy
70 Climbing Stairs Rust Easy
71 Simplify Path Python Medium
72 Edit Distance Python Medium
73 Set Matrix Zeroes Python Medium
79 Word Search Python Medium
80 Remove Duplicates from Sorted Array II Rust Medium
81 Search in Rotated Sorted Array II Python Medium
82 Remove Duplicates from Sorted List II Python Medium
83 Remove Duplicates from Sorted List Rust Easy
86 Partition List Python Medium
88 Merge Sorted Array Rust Easy
89 Gray Code Python Medium
90 Subsets II Python Medium
91 Decode Ways Python Medium
92 Reverse Linked List II Python Medium
94 Binary Tree Inorder Traversal Rust Easy
95 Unique Binary Search Trees II Python Medium
96 Unique Binary Search Trees Python Medium
100 Same Tree Python Easy
101 Symmetric Tree Python Easy
102 Binary Tree Level Order Traversal Python Medium
104 Maximum Depth of Binary Tree Python Easy
108 Convert Sorted Array to Binary Search Tree Python Easy
109 Convert Sorted List to Binary Search Tree Python Medium
118 Pascal's Triangle Python Easy
119 Pascal's Triangle II Rust Easy
136 Single Number Python Easy
137 Single Number II Python Medium
141 Linked List Cycle Python Easy
142 Linked List Cycle II Python Medium
144 Binary Tree Preorder Traversal Python Easy
145 Binary Tree Postorder Traversal Python Easy
146 LRU Cache Python Medium
148 Sort List Python Medium
149 Max Points on a Line Python Hard
150 Evaluate Reverse Polish Notation Python Medium
169 Majority Element Rust Easy
191 Number of 1 Bits Rust Easy
210 Course Schedule II Python Medium
231 Power of Two Rust Easy
238 Product of Array Except Self Rust Medium
268 Missing Number Rust Easy
342 Power of Four Rust Easy
349 Intersection of Two Arrays Rust Easy
407 Trapping Rain Water II Python Hard
452 Minimum Number of Arrows to Burst Balloons Rust Medium
621 Task Scheduler Rust Medium
746 Min Cost Climbing Stairs Rust Easy
791 Custom Sort String Rust Medium
827 Making A Large Island Python Hard
844 Backspace String Compare Rust Easy
876 Middle of the Linked List Rust Easy
930 Binary Subarrays With Sum Rust Medium
977 Squares of a Sorted Array Rust Easy
1171 Remove Zero Sum Consecutive Nodes from Linked List Rust Medium
1356 Sort Integers by The Number of 1 Bits Rust Easy
1662 Check If Two String Arrays are Equivalent Rust Easy
2373 Largest Local Values in a Matrix Python Easy
2485 Find the Pivot Integer Rust Easy
2540 Minimum Common Value Rust Easy
2657 Find the Prefix Common Array of Two Arrays Python Medium
2864 Maximum Odd Binary Number Rust Easy
3005 Count Elements With Maximum Frequency Rust Easy
3235 Check if the Rectangle Corner Is Reachable Python Hard

About

Collection of LeetCode questions to ace the coding interview!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published