X Tutup
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Medium LeetCode-Java-Solutions

S.no Coding Problem
1 Range Sum Query 2D-Immutable
2 Combination Sum III
3 Divide Two Integers
4 Ugly Number II
5 Set Matrix Zeroes
6 Container With Most Water
7 Spiral Matrix
8 Rabbits in Forest
9 Binary Tree Vertical Order Traversal
10 Basic Calculator II
11 Corporate Flight Bookings
12 Custom Sort String
13 Minimum Moves to Equal Array Elements II
14 Rotate List
15 Flatten Nested List Iterator
16 Minimum Number of Arrows to Burst Balloons
17 Count Complete Tree Nodes
18 Search in Rotated Sorted Array
19 Subarray Product Less Than K
20 Unique Binary Search Trees
21 Shuffle an Array
22 Permutation in String
23 Flatten a Multilevel Doubly Linked List
24 Search in Rotated Sorted Array II
25 Pour Water
26 Find Leaves of Binary Tree
27 Majority Element II
28 Course Schedule II
29 Design Circular Queue
30 Battleships in a board
31 Next Greater Element III
32 Linked List Components
33 Multiply Strings
34 Convert Binary Search Tree to Sorted Doubly Linked List
35 Add One Row to Tree
36 Binary Tree Pruning
37 Word Break
38 Interval List Intersections
39 Pow
40 Daily Temperatures
41 Implement Rand10() Using Rand7()
42 Palindromic Substrings
43 Reverse Substrings Between Each Pair of Parentheses
44 Design File System
45 Lowest Common Ancestor of Deepest Leaves
46 Grumpy Bookstore Owner
47 Remove Duplicates From Sorted Array II
48 Validate IP Address
49 Boats to Save People
50 Ternary Expression Parser
51 Find Peak Element
52 Design Tic-Tac-Toe
53 Keys and Rooms
54 Counting Bits
55 Split Linked List into Parts
56 Number of Connected Components in an Undirected Graph
57 Task Scheduler
58 Online Election
59 Maximum Width Ramp
60 Time Based Key-Value Store
61 Sum Root to Leaf Numbers
62 Kth Largest Element in an Array
63 Bitwise AND of Numbers Range
64 Binary Tree Longest Consecutive Sequence
65 Largest BST Subtree
66 Populating Next Right Pointers in Each Node II
67 Online Stock Span
68 Combination Sum II
69 Insert Into a Cyclic Sorted List
70 Reconstruct Itinerary
71 Partition Labels
72 Distribute Coins in Binary Tree
73 Longest Palindromic Substring
74 Simplify Path
75 Zigzag Iterator
76 Max Chunks To Make Sorted
77 Is Subsequence
78 Reverse Linked List II
79 Complex Number Multiplication
80 Maximum Binary Tree
81 Meeting Rooms II
82 Fraction to Recurring Decimal
83 Add and Search Word - Data structure design
84 Super Ugly Number
85 Escape The Ghosts
86 Max Increase to Keep City Skyline
87 Minimum Path Sum
88 Valid Tic-Tac-Toe State
89 Shortest Completing Word
90 01 Matrix
91 As Far from Land as Possible
92 Number of Matching Subsequence
93 Car Pooling
94 Generate Parentheses
95 Exclusive Time of Functions
96 Sort Characters By Frequency
97 Max Consecutives Ones II
98 Number of Islands
99 Reverse Words in a String II
100 Binary Tree Upside Down
101 Count Univalue Subtrees
102 Split BST
103 All Possible Full Binary Trees
104 Convert Sorted List to Binary Search Tree
105 Word Search
106 Add Two Numbers II
107 Sort List
108 Gray Code
109 Rotate Function
110 Bulb Switcher
111 Implement Trie (Prefix Tree)
112 Contains Duplicate III
113 Copy List with Random Pointer
114 Design Hit Counter
115 Medium
116 Binary Tree Inorder Traversal
117 Maximum Product Subarray
118 Prison Cells After N Days
119 Evaluate Reverse Polish Notation
120 H-Index
121 Mini Parser
122 Line Reflection
123 Linked List Cycle II
124 Minimum Size Subarray Sum
125 Next Greater Element II
126 Decode String
127 Unique Paths II
128 Shifting Letters
129 Subarray Sum Equals K
130 Graph Valid Tree
131 Flatten Binary Tree to Linked List
132 Top K Frequent Elements
133 Find First and Last Position of Element in Sorted Array
134 Broken Calculator
135 Design Twitter
136 Nested List Weight Sum II
137 Permutations II
138 Sort An Array
139 Construct Quad Tree
140 Game of Life
141 Remove Nth Node From End of List
142 Random Pick Index
143 My Calendar II
144 Search for a range
145 Binary Tree Right Side View
146 Longest Substring Without Repeating Characters
147 Single Number III
148 Candy Crush
149 Web Crawler
150 Lonely Pixel I
151 Reorganize String
152 Insertion Sort List
153 Peeking Iterator
154 Reorder List
155 Unique Paths
156 Reconstruct Original Digits from English
157 Walls and Gates
158 Total Hamming Distance
159 Rectangle Area
160 Binary Search Tree to Greater Sum Tree
161 Longest Absolute File Path
162 Single Element in a Sorted Array
163 Binary Search Tree Iterator
164 Find K Closest Elements
165 Rotate Image
166 Next Permutation
167 Design Phone Directory
168 Jump Game
169 H-Index II
170 Subarray Sums Divisible by K
171 Kill Process
172 Boundary of Binary Tree
173 Course Schedule
174 Insert Delete GetRandom O(1)
175 Coin Change 2
176 Find Duplicate Subtrees
177 Letter Tiles Possibilities
178 Palindrome Partitioning
179 Longest Palindromic Subsequence
180 Expressive Words
181 Linked List Random Node
182 Find Minimum in Rotated Sorted Array
183 3Sum Closest
184 Permutations
185 Next Greater Node In Linked List
186 Map Sum Pairs
187 Minimum Genetic Mutation
188 Maximum Binary Tree II
189 Delete Operation for Two Strings
190 Inorder Successor in BST
191 Array Nesting
192 Output Contest Matches
193 Serialize and Deserialize BST
194 Find the duplicate number
195 Single Number II
196 Statistics from a Large Sample
197 Accounts Merge
198 Reverse Words in a String
199 Find Duplicate File in System
200 Delete Node in a BST
201 Is Graph Bipartite
202 Minesweeper
203 Remove K Digits
204 Next Closest Time
205 Self Dividing Numbers
206 Replace Words
207 Longest Increasing Subsequence
208 Find Right Interval
209 Non Overlapping Intervals
210 Range Addition
211 3Sum Smaller
212 Shortest Way to Form String
213 Missing Element in Sorted Array
214 Insufficient Nodes in Root to Leaf Paths
215 Maximum Width of Binary Tree
216 Product of Array Except self
217 Sort Colors
218 Arithmetic Slices
219 Number of Dice Rolls With Target Sum
220 Perfect Squares
221 Search a 2D Matrix
222 Satisfisbility of Equality Equations
223 Maximum Length of Pair Chain
224 Queue Reconstruction By Height
225 Bulls and Cows
226 Unique Word Abbrevation
227 Range Sum Query - Mutable
228 Delete Nodes And Return Forest
229 4Sum
230 Missing Ranges
231 Sentence Similarity II
232 Evaluate Division
233 Find K Pairs with Smallest Sums
234 Partition List
235 Encode and Decode Strings
236 Decrease Elements To Make Array Zigzag
237 Maximum Level Sum of a Binary Tree
238 All Nodes Distance K in Binary Tree
239 Design Circular Deque
240 Design Log Storage System
241 Decode Ways
242 Sort Transformed Array
243 Wiggle Sort
244 Path Sum II
245 Subsets
246 Increasing Subsequences
247 Number of Distinct Islands
248 Add Two Numbers
249 Fruit Into Baskets
250 Lowest Common Ancestor of a Binary Tree
251 Complete Binary Tree Insertor
252 Clone Graph
253 Binary Tree Preorder Traversal
254 Random Pick With Weight
255 Vertical Order Traversal Of Binary Tree
256 Remove Duplicates from Sorted List II
257 Search in a Sorted Array of Unknown Size
258 Rectangle Overlap
259 Analyze User Website Visit Pattern
260 Combination Sum
261 Solve the Equation
262 The Earliest Moment When Everyone Become Friends
263 Verify Preorder Serialization of a Binary Tree
264 Optimal Division
265 Score of Parentheses
266 Merge Intervals
267 Kth Smallest Element in a BST
268 Coin Change
269 Find the Celebrity
270 Array Circular Loop
271 Snapshot Array
272 Top K Frequent Words
273 Asteroid Collision
274 Encode and Decode TinyURL
275 Insert into a Binary Search Tree
276 Word Ladder
277 Inorder Successor in BST II
278 Find and Replace Pattern
279 Number of Longest Increasing Subsequence
280 Remove Comments
281 Pancake Sorting
282 Maximum Size Subarray Sum Equals k
283 3Sum
284 Valid Triangle Number
285 Kth Smallest Element in a Sorted Matrix
286 String to Integer(atoi)
287 All Paths From Source to Target
288 Binary Tree Longest Consecutive Sequence II
289 Friend Circles
290 Swap Nodes in Pair
291 Plus One Linked List
292 Teemo Attacking
293 Compare Version Numbers
294 Smallest String Starting From Leaf
295 Count Numbers With Unique Digits
296 Uncrossed Lines
297 Vowel Spellchecker
298 Contiguous Array
299 Longest Well-Performing Interval
300 Find Bottom Left Tree Value
301 Score After Flipping Matrix
302 4 Sum II
303 Most Frequent Subtree Sum
304 Combinations
305 RLE Iterator
306 Spiral Matrix II
307 Find Largest Value in Tree Row
308 Minimum Time Difference
309 Find all Duplicates in an Array
310 Diagonal Traverse
311 Print Binary Tree
312 Masking Personal Information
313 Summary Ranges
314 Letter Combinations of a Phone Number
315 Odd Even Linked Lists
316 Find K-Length Substrings With No Repeated Characters
317 ZigZag Conversion
318 Water & Jug Problem
319 Find and Replace in String
320 Construct Binary Tree from Inorder and Postorder Traversal
321 Flatten 2D Vector
322 Hand of Straights
323 Maximum Average Subtree
324 Repeated DNA Sequences
325 Integer To Roman
326 My Calendar I
327 Longest Line of Consecutive One in Matrix
328 Group Shifted Strings
329 Reverse Nodes in k-group
330 One Edit Distance
331 Add Bold Tag in String
332 Open The Lock
333 Target Sum
X Tutup