Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Easy LeetCode-Java-Solutions

S.no Coding Problem
1 Pascal's Triangle
2 Meeting Rooms
3 Reverse Bits
4 Cousins in Binary Tree
5 Keyboard Row
6 Largest Unique Number
7 Assign Cookies
8 Maximum Depth of N-ary Tree
9 Count and Say
10 Arranging Coins
11 Maximum Number of Balloons
12 Construct the rectangle
13 Magic Squares In Grid
14 Matrix Cells in Distance Order
15 1-bit and 2-bit Characters
16 Find the difference
17 Factorial Trailing Zeroes
18 Sentence Similarity
19 Largest Number At Least Twice of Others
20 Max Area of Island
21 Longest Palindrome
22 Shortest Word Distance III
23 String Compression
24 trailing_zeroes
25 Greatest Common Divisor of Strings
26 Two Sum IV - Input is a BST
27 Linked List Cycle
28 Delete node in a linked list
29 Excel Sheet Column Number
30 Pairs of Songs With Total Durations Divisible by 60
31 Remove Linked List Elements
32 Single-Row Keyboard
33 Missing Number In Arithmetic Progression
34 Sum of left leaves
35 Design Compressed String Iterator
36 Valid Boomerang
37 Flip Game
38 Available Captures for Rook
39 Strobogrammatic Number
40 Add to Array-Form of Integer
41 Reverse words in a String III
42 Lowest Common Ancestor of a Binary Search Tree
43 Find Mode in Binary Search Tree
44 Number of 1 bits
45 Increasing Order Search Tree
46 Occurrences After Bigram
47 Design HashSet
48 Excel Sheet Column Title
49 Find All Numbers Disappeared in an Array
50 sum_of_two_integers
51 Logger Rate Limiter
52 Path Sum
53 Search Insert Position
54 Search in a Binary Search Tree
55 Number of Equivalent Domino Pairs
56 Jewels and Stones
57 Unique Email Addresses
58 Roman to Integer
59 Count Primes
60 Complement of Base 10 Integer
61 Maximum Subarray
62 contains_duplicates
63 Number of Boomerangs
64 Valid Parantheses
65 remove_duplicates_sorted
66 Sum of square numbers
67 add_digit
68 Letter Case Permutation
69 Transpose Matrix
70 Binary Number with Alternating Bits
71 Power of three
72 Remove All Adjacent Duplicates In String
73 Longest Continuous Increasing Subsequence
74 Palindrome Permutation
75 Valid Word Sequence
76 Powerful Integers
77 Isomorphic Strings
78 Uncommon Words from Two Sentences
79 Design HashMap
80 Backspace String Compare
81 Max Consecutive Ones
82 Happy Number
83 Path Sum III
84 Shortest Word Distance
85 Binary Prefix Divisible By 5
86 Leaf-Similar Trees
87 Nested List Weight Sum
88 Guess Number Higher or Lower
89 Monotonic Array
90 ugly_number
91 Number of Days in a Month
92 Two Sum III - Data Structure Design
93 Island Perimeter
94 SqrtX
95 Fair Candy Swap
96 Heaters
97 Trim a Binary Search Tree
98 First Bad Version
99 Single Number
100 Closest Binary Search Tree Value
101 Shortest Word Distance II
102 Symmetric Tree
103 Minimum Absolute Difference
104 Valid Palindrome II
105 Read N characters Given Read4
106 N-ary Tree Level Order Traversal
107 Reverse String II
108 Degree of an array
109 Find All Anagrams in a String
110 Submission Detail
111 Binary Tree Paths
112 Rotate Array
113 Day of the Year
114 Set Mismatch
115 majority_element
116 Number Complement
117 power_of_2
118 Can Place Flowers
119 Largest Perimeter Triangle
120 Relative ranks
121 Convert BST to greater tree
122 valid_anagrams
123 License Key Formatting
124 Verifying an Alien Dictionary
125 Diameter of Binary Tree
126 first_unique_character_in_a_string
127 Moving Average from Data Stream
128 Diet Plan Performance
129 Subdomain Visit Count
130 Duplicate Zeros
131 Same Tree
132 FizzBuzz
133 Buddy Strings
134 Third Maximum Number
135 Pascal's Triangle II
136 Word Pattern
137 Hamming Distance
138 Minimum Distance Between BST Nodes
139 Find Words That Can Be Formed by Characters
140 Defanging an IP Address
141 Reverse Vowels of a String
142 Balanced Binary Tree
143 How Many Apples Can You Put into the Basket
144 String Without AAA or BBB
145 Implement Queue using Stacks
146 Baseball Game
147 range_addition_II
148 Design Linked List
149 Convert a number to hexadecimal
150 Toeplitz Matrix
151 N-th Tribonacci Number
152 Kth Largest Element in a Stream
153 N-ary Tree Preorder Traversal
154 Paint House
155 Peak Index in a Mountain Array
156 Binary Search
157 Two Sum Less Than K
158 Maximum depth of Binary tree
159 Rotting Oranges
160 Armstrong Number
161 Best time to buy & sell a stock II
162 Base 7
163 Longest Univalue Path
164 Repeated Substring Pattern
165 Maximum Distance in Arrays
166 Relative Sort Array
167 Unique Number of Occurrences
168 Last Stone Weight
169 Largest Triangle Area
170 Min Cost Climbing Stairs
171 Number of Lines To Write String
172 Detect Capital
173 Two Sum II
174 Distance Between Bus Stops
175 Sum of Digits in the Minimum Number
176 Check If a Number Is Majority Element in a Sorted Array
177 Merge two binary trees
178 Construct String from Binary Tree
179 Merge Sorted Arrays
180 N-Repeated Element in Size 2N Array
181 Intersection of two arrays II
182 Two City Scheduling
183 High Five
184 Contains Duplicate II
185 Intersection of two Linked Lists
186 Confusing Number
187 Fixed Point
188 To Lower Case
189 Flipping an Image
190 Count Binary Substrings
191 Maximum Subarray Sum I
192 Reshape the matrix
193 Shortest Distance to a Character
194 Find Pivot Index
195 Add Strings
196 Reverse Integer
197 Find the Town Judge
198 Rotated Digits
199 Merge Two Sorted Lists
200 Reverse Linked List
201 Repeated String Match
202 Subtree of Another Tree
203 Groups of Special-Equivalent Strings
204 Maximum Product of three numbers
205 Implement Stack using Queues
206 Height Checker
207 Two Sum
208 Compare Strings by Frequency of the Smallest Character
209 Most Common Word
210 Binary Tree Level Order Traversal II
211 Longest Word in Dictionary
212 Min Stack
213 Image Smoother
214 Shortest Unsorted Continuous Subarray
215 Missing Numbers
216 Remove Duplicates From Sorted Lists
217 Path In Zigzag Labelled Binary Tree
218 Max Stack
219 Minimum Depth of a Binary Tree
220 Split a String in Balanced Strings
221 Length of last word
222 Second Minimum Node in a binary tree
223 Average of levels in a binary tree
224 Employee Importance
225 Minimum Absolute Difference in BST
226 Flood Fill
227 Distribute Candies to People
228 Ransom Note
229 Valid Word Abbrevation
230 Student Attendance Record I
231 Minimum Moves to Equal an Array Element
232 Bold Words in String
233 nim_game
234 Next Greater Element
235 Non-decreasing Array
236 remove_element
237 Projection Area of 3D Shapes
238 Palindrome Number
239 Sum of Even Numbers After Queries
240 Squares of a Sorted Array
241 Judge Route Cycle
242 intersection_of_two_arrays
243 move_zeroes
244 Rotate String
245 Binary Gap
246 Perfect Number
247 House Robber
248 Maximize Distance to Closest Person
249 Power of four
250 Longest Uncommon Subsequence
251 Unique Morse Code Words
252 Univalued Binary Tree
253 Plus One
254 Add Binary
255 Reverse String
256 Middle of the linked list
257 K Closest Points to Origin
258 Distribute Candies
259 Positions of Large Groups
260 N-ary Tree Postorder Traversal
261 Fibonacci Numbers
262 Remove Vowels from a String
263 Goat Latin
264 Climbing Stairs
265 Best time to buy & sell a stock
266 Invert a binary tree
267 Longest Harmonious Subsequence
268 Palindrome Linked List
269 Implement strStr
270 K-diff Pairs in an Array
271 Range Sum Query_Immutable
272 Convert Sorted Array To Binary Search Tree
273 Number of segments in a String
274 Count Substrings with Only One Distinct Letter
275 Valid Palindrome
276 Binary Tree Tilt
277 Valid Perfect Square
278 Minimum_index_sum_of_two_lists
279 Paint Fence
280 Longest Common Prefix
281 Array Partition I