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 01 Matrix
2 132 Pattern
3 3Sum Closest
4 3Sum Smaller
5 3Sum With Multiplicity
6 3Sum
7 4 Sum II
8 4Sum II
9 4Sum
10 Accounts Merge
11 Add Bold Tag in String
12 Add Minimum Number of Rungs
13 Add One Row to Tree
14 Add Two Numbers II
15 Add Two Numbers
16 Adding Spaces to a String
17 Adding Two Negabinary Numbers
18 Advantage Shuffle
19 Alert Using Same Key-Card Three or More Times in a One Hour Period
20 All Ancestors of a Node in a Directed Acyclic Graph
21 All Divisions With the Highest Score of a Binary Array
22 All Elements in Two Binary Search Trees
23 All Nodes Distance K in Binary Tree
24 All Paths From Source to Target
25 All Paths from Source Lead to Destination
26 All Possible Full Binary Trees
27 Analyze User Website Visit Pattern
28 Angle Between Hands of a Clock
29 Append Characters to String to Make Subsequence
30 Append K Integers With Minimal Sum
31 Apply Discount Every n Orders
32 Apply Discount to Prices
33 Arithmetic Slices
34 Arithmetic Subarrays
35 Array Circular Loop
36 Array Nesting
37 As Far from Land as Possible
38 Asteroid Collision
39 Average Waiting Time
40 Bag of Tokens
41 Balance a Binary Search Tree
42 Basic Calculator II
43 Battleships in a board
44 Best Time to Buy and Sell Stock II
45 Best Time to Buy and Sell Stock with Cooldown
46 Binary Search Tree Iterator II
47 Binary Search Tree Iterator
48 Binary Search Tree to Greater Sum Tree
49 Binary Tree Coloring Game
50 Binary Tree Level Order Traversal
51 Binary Tree Longest Consecutive Sequence II
52 Binary Tree Longest Consecutive Sequence
53 Binary Tree Preorder Traversal
54 Binary Tree Pruning
55 Binary Tree Right Side View
56 Binary Tree Upside Down
57 Binary Tree Vertical Order Traversal
58 Binary Tree Zigzag Level Order Traversal
59 Binary Trees With Factors
60 Bitwise AND of Numbers Range
61 Boats to Save People
62 Bold Words in String
63 Bomb Enemy
64 Boundary of Binary Tree
65 Brace Expansion
66 Break a Palindrome
67 Broken Calculator
68 Buildings With an Ocean View
69 Bulb Switcher
70 Camelcase Matching
71 Campus Bikes II
72 Campus Bikes
73 Can Convert String in K Moves
74 Can Make Palindrome from Substring
75 Candy Crush
76 Capacity To Ship Packages Within D Days
77 Car Pooling
78 Champagne Tower
79 Cheapest Flights Within K Stops
80 Check Completeness of a Binary Tree
81 Check If All 1's Are at Least Length K Places Away
82 Check If a String Can Break Another String
83 Check If a String Contains All Binary Codes of Size K
84 Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
85 Check if There is a Valid Path in a Grid
86 Cinema Seat Allocation
87 Clone Binary Tree With Random Pointer
88 Clone Graph
89 Clone N-ary Tree
90 Closest Nodes Queries in a Binary Search Tree
91 Coin Change 2
92 Coin Change
93 Combination Sum II
94 Combination Sum III
95 Combination Sum IV
96 Combination Sum
97 Combinations
98 Compare Version Numbers
99 Complete Binary Tree Insertor
100 Complex Number Multiplication
101 Concatenation of Consecutive Binary Numbers
102 Connecting Cities With Minimum Cost
103 Construct Binary Search Tree from Preorder Traversal
104 Construct Binary Tree from Inorder and Postorder Traversal
105 Construct Binary Tree from Preorder and Inorder Traversal
106 Construct K Palindrome Strings
107 Construct Quad Tree
108 Construct String With Repeat Limit
109 Container With Most Water
110 Contains Duplicate III
111 Contiguous Array
112 Continuous Subarray Sum
113 Convert Binary Search Tree to Sorted Doubly Linked List
114 Convert Sorted List to Binary Search Tree
115 Copy List with Random Pointer
116 Corporate Flight Bookings
117 Count Collisions on a Road
118 Count Complete Tree Nodes
119 Count Good Nodes in Binary Tree
120 Count Nodes Equal to Average of Subtree
121 Count Nodes Equal to Sum of Descendants
122 Count Number of Bad Pairs
123 Count Number of Distinct Integers After Reverse Operations
124 Count Number of Homogenous Substrings
125 Count Number of Teams
126 Count Numbers With Unique Digits
127 Count Servers That Communicate
128 Count Sorted Vowel Strings
129 Count Square Submatrices with All Ones
130 Count Sub Islands
131 Count Submatrices With All Ones
132 Count Univalue Subtrees
133 Count Unreachable Pairs of Nodes in an Undirected Graph
134 Count Vowel Strings in Ranges
135 Count and Say
136 Course Schedule II
137 Course Schedule
138 Create Binary Tree From Descriptions
139 Custom Sort String
140 Daily Temperatures
141 Decode String
142 Decode Ways
143 Decrease Elements To Make Array Zigzag
144 Deepest Leaves Sum
145 Delete Leaves With a Given Value
146 Delete Node in a BST
147 Delete Nodes And Return Forest
148 Delete Operation for Two Strings
149 Delete Tree Nodes
150 Delete the Middle Node of a Linked List
151 Design A Leaderboard
152 Design Add and Search Words Data Structure
153 Design Authentication Manager
154 Design Browser History
155 Design Circular Deque
156 Design Circular Queue
157 Design File System
158 Design Front Middle Back Queue
159 Design Hit Counter
160 Design Log Storage System
161 Design Phone Directory
162 Design SQL
163 Design Snake Game
164 Design Tic-Tac-Toe
165 Design Twitter
166 Design Underground System
167 Design a File Sharing System
168 Design a Stack With Increment Operation
169 Design an ATM Machine
170 Design an Expression Tree With Evaluate Function
171 Determine if Two Strings Are Close
172 Diagonal Traverse
173 Diameter of N-ary Tree
174 Display Table of Food Orders in a Restaurant
175 Distribute Coins in Binary Tree
176 Divide Array in Sets of K Consecutive Numbers
177 Divide Players Into Teams of Equal Skill
178 Divide Two Integers
179 Dot Product of Two Sparse Vectors
180 Encode and Decode Strings
181 Encode and Decode TinyURL
182 Equal Row and Column Pairs
183 Escape The Ghosts
184 Evaluate Division
185 Evaluate Reverse Polish Notation
186 Evaluate the Bracket Pairs of a String
187 Even Odd Tree
188 Exclusive Time of Functions
189 Execution of All Suffix Instructions Staying in a Grid
190 Expressive Words
191 Fair Distribution of Cookies
192 Filter Restaurants by Vegan-Friendly, Price and Distance
193 Find All Anagrams in a String
194 Find All Lonely Numbers in the Array
195 Find All Possible Recipes from Given Supplies
196 Find Bottom Left Tree Value
197 Find Center of Star Graph
198 Find Closest Node to Given Two Nodes
199 Find Consecutive Integers from a Data Stream
200 Find Distance in a Binary Tree
201 Find Duplicate File in System
202 Find Duplicate Subtrees
203 Find Elements in a Contaminated Binary Tree
204 Find First and Last Position of Element in Sorted Array
205 Find K Closest Elements
206 Find K Pairs with Smallest Sums
207 Find K-Length Substrings With No Repeated Characters
208 Find Largest Value in Each Tree Row
209 Find Leaves of Binary Tree
210 Find Minimum in Rotated Sorted Array
211 Find Missing Observations
212 Find Nearest Right Node in Binary Tree
213 Find Original Array From Doubled Array
214 Find Peak Element
215 Find Permutation
216 Find Players With Zero or One Losses
217 Find Right Interval
218 Find Root of N-Ary Tree
219 Find Smallest Common Element in All Rows
220 Find The Original Array of Prefix Xor
221 Find Triangular Sum of an Array
222 Find a Corresponding Node of a Binary Tree in a Clone of That Tree
223 Find all Duplicates in an Array
224 Find and Replace Pattern
225 Find and Replace in String
226 Find the Celebrity
227 Find the City With the Smallest Number of Neighbors at a Threshold Distance
228 Find the Duplicate Number
229 Find the Index of the Large Integer
230 Find the Kth Largest Integer in the Array
231 Find the Minimum and Maximum Number of Nodes Between Critical Points
232 Find the Student that Will Replace the Chalk
233 Find the Winner of an Array Game
234 Finding the Users Active Minutes
235 First Unique Number
236 Flatten 2D Vector
237 Flatten Binary Tree to Linked List
238 Flatten Nested List Iterator
239 Flatten a Multilevel Doubly Linked List
240 Flip Equivalent Binary Trees
241 Four Divisors
242 Fraction to Recurring Decimal
243 Friend Circles
244 Friends Of Appropriate Ages
245 Fruit Into Baskets
246 Furthest Building You Can Reach
247 Game of Life
248 Gas Station
249 Generate Parentheses
250 Graph Valid Tree
251 Gray Code
252 Group Anagrams
253 Group Shifted Strings
254 Group the People Given the Group Size They Belong To
255 Grumpy Bookstore Owner
256 Guess Number Higher or Lower II
257 H-Index II
258 H-Index
259 HTML Entity Parser
260 Hand of Straights
261 House Robber II
262 House Robber III
263 House Robber
264 Image Overlap
265 Implement Magic Dictionary
266 Implement Rand10() Using Rand7()
267 Implement Trie (Prefix Tree)
268 Implement Trie II (Prefix Tree)
269 Increasing Subsequences
270 Increasing Triplet Subsequence
271 Incremental Memory Leak
272 Inorder Successor in BST II
273 Inorder Successor in BST
274 Insert Delete GetRandom O(1)
275 Insert Interval
276 Insert Into a Cyclic Sorted List
277 Insert into a Binary Search Tree
278 Insert into a Sorted Circular Linked List
279 Insertion Sort List
280 Insufficient Nodes in Root to Leaf Paths
281 Integer To Roman
282 Interleaving String
283 Interval List Intersections
284 Invalid Transactions
285 Is Graph Bipartite
286 Iterator for Combination
287 Jump Game II
288 Jump Game III
289 Jump Game VI
290 Jump Game
291 K Closest Points to Origin
292 K Radius Subarray Averages
293 Keys and Rooms
294 Kill Process
295 Knight Dialer
296 Knight Probability in Chessboard
297 Koko Eating Bananas
298 Kth Largest Element in an Array
299 Kth Smallest Element in a BST
300 Kth Smallest Element in a Sorted Matrix
301 LRU Cache
302 Large Divisble Subset
303 Largest BST Subtree
304 Largest Number
305 Largest Time for Given Digits
306 Last Moment Before All Ants Fall Out of a Plank
307 Last Stone Weight II
308 Least Number of Unique Integers after K Removals
309 Leftmost Column with at Least a One
310 Length of the Longest Alphabetical Continuous Substring
311 Letter Combinations of a Phone Number
312 Letter Tiles Possibilities
313 Lexicographical Numbers
314 Lexicographically Smallest Equivalent String
315 Line Reflection
316 Linked List Components
317 Linked List Cycle II
318 Linked List Random Node
319 Linked List in Binary Tree
320 Lonely Pixel I
321 Longest Absolute File Path
322 Longest Arithmetic Sequence
323 Longest Arithmetic Subsequence
324 Longest Consecutive Sequence
325 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
326 Longest Happy String
327 Longest Increasing Subsequence
328 Longest Line of Consecutive One in Matrix
329 Longest Palindromic Subsequence
330 Longest Palindromic Substring
331 Longest String Chain
332 Longest Substring Without Repeating Characters
333 Longest Substring with At Most K Distinct Characters
334 Longest Substring with At Most Two Distinct Characters
335 Longest Uploaded Prefix
336 Longest Well-Performing Interval
337 Longest Word With All Prefixes
338 Longest Word in Dictionary through Deleting
339 Longest ZigZag Path in a Binary Tree
340 Lowest Common Ancestor of Deepest Leaves
341 Lowest Common Ancestor of a Binary Tree III
342 Lowest Common Ancestor of a Binary Tree
343 Majority Element II
344 Making File Names Unique
345 Map Sum Pairs
346 Masking Personal Information
347 Matchsticks to Square
348 Max Area of Island
349 Max Chunks To Make Sorted
350 Max Consecutives Ones II
351 Max Increase to Keep City Skyline
352 Max Number of K-Sum Pairs
353 Max Sum of a Pair With Equal Sum of Digits
354 Maximal Network Rank
355 Maximal Score After Applying K Operations
356 Maximize Distance to Closest Person
357 Maximize Number of Subsequences in a String
358 Maximize the Topmost Element After K Moves
359 Maximum Absolute Sum of Any Subarray
360 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
361 Maximum Average Subtree
362 Maximum Bags With Full Capacity of Rocks
363 Maximum Binary Tree II
364 Maximum Binary Tree
365 Maximum Consecutive Floors Without Special Floors
366 Maximum Difference Between Node and Ancestor
367 Maximum Distance Between a Pair of Values
368 Maximum Erasure Value
369 Maximum Ice Cream Bars
370 Maximum Length of Pair Chain
371 Maximum Length of Repeated Subarray
372 Maximum Length of Subarray With Positive Product
373 Maximum Level Sum of a Binary Tree
374 Maximum Matching of Players With Trainers
375 Maximum Nesting Depth of Two Valid Parentheses Strings
376 Maximum Number of Coins You Can Get
377 Maximum Number of Events That Can Be Attended
378 Maximum Number of Groups Entering a Competition
379 Maximum Number of Integers to Choose From a Range I
380 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
381 Maximum Number of Occurrences of a Substring
382 Maximum Number of Vowels in a Substring of Given Length
383 Maximum Points You Can Obtain from Cards
384 Maximum Product Subarray
385 Maximum Product of Splitted Binary Tree
386 Maximum Product of Word Lengths
387 Maximum Score From Removing Stones
388 Maximum Score from Performing Multiplication Operations
389 Maximum Size Subarray Sum Equals k
390 Maximum Star Sum of a Graph
391 Maximum Sum of Distinct Subarrays With Length K
392 Maximum Sum of an Hourglass
393 Maximum Swap
394 Maximum Total Importance of Roads
395 Maximum Twin Sum of a Linked List
396 Maximum Value after Insertion
397 Maximum Width Ramp
398 Maximum Width of Binary Tree
399 Maximum XOR of Two Numbers in an Array
400 Maximum of Absolute Value Expression
401 Meeting Rooms II
402 Meeting Scheduler
403 Merge In Between Linked Lists
404 Merge Intervals
405 Merge Nodes in Between Zeros
406 Min Cost to Connect All Points
407 Min Stack
408 Minesweeper
409 Mini Parser
410 Minimize Maximum Pair Sum in Array
411 Minimize Product Sum of Two Arrays
412 Minimum Add to Make Parentheses Valid
413 Minimum Amount of Time to Collect Garbage
414 Minimum Area Rectangle
415 Minimum Average Difference
416 Minimum Consecutive Cards to Pick Up
417 Minimum Cost to Connect Sticks
418 Minimum Deletion Cost to Avoid Repeating Letters
419 Minimum Deletions to Make Array Beautiful
420 Minimum Deletions to Make Character Frequencies Unique
421 Minimum Domino Rotations For Equal Row
422 Minimum Falling Path Sum
423 Minimum Fuel Cost to Report to the Capital
424 Minimum Genetic Mutation
425 Minimum Health to Beat Game
426 Minimum Height Trees
427 Minimum Knight Moves
428 Minimum Moves to Equal Array Elements II
429 Minimum Moves to Equal Array Elements
430 Minimum Moves to Reach Target Score
431 Minimum Number of Arrows to Burst Balloons
432 Minimum Number of Steps to Make Two Strings Anagram II
433 Minimum Number of Steps to Make Two Strings Anagram
434 Minimum Number of Vertices to Reach All Nodes
435 Minimum Operations to Make Array Equal
436 Minimum Operations to Reduce X to Zero
437 Minimum Path Sum
438 Minimum Remove to Make Valid Parentheses
439 Minimum Rounds to Complete All Tasks
440 Minimum Score Triangulation of Polygon
441 Minimum Size Subarray Sum
442 Minimum Swaps to Group All 1's Together
443 Minimum Time Difference
444 Minimum Time to Collect All Apples in a Tree
445 Minimum Time to Complete Trips
446 Minimum Time to Make Rope Colorful
447 Mirror Reflection
448 Missing Element in Sorted Array
449 Most Frequent Subtree Sum
450 Most Popular Video Creator
451 Most Profit Assigning Work
452 Most Stones Removed with Same Row or Column
453 Multiply Strings
454 My Calendar I
455 My Calendar II
456 N-ary Tree Level Order Traversal
457 Nearest Exit from Entrance in Maze
458 Nested List Weight Sum II
459 Network Delay Time
460 Next Closest Time
461 Next Greater Element II
462 Next Greater Element III
463 Next Greater Node In Linked List
464 Next Greater Numerically Balanced Number
465 Next Permutation
466 Node With Highest Edge Score
467 Non Overlapping Intervals
468 Non-decreasing Array
469 Number of Burgers with No Waste of Ingredients
470 Number of Closed Islands
471 Number of Connected Components in an Undirected Graph
472 Number of Dice Rolls With Target Sum
473 Number of Distinct Islands
474 Number of Distinct Substrings in a String
475 Number of Enclaves
476 Number of Islands
477 Number of Laser Beams in a Bank
478 Number of Longest Increasing Subsequence
479 Number of Matching Subsequence
480 Number of Matching Subsequences
481 Number of Nodes in the Sub-Tree With the Same Label
482 Number of Pairs of Interchangeable Rectangles
483 Number of Pairs of Strings With Concatenation Equal to Target
484 Number of Provinces
485 Number of Smooth Descent Periods of a Stock
486 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
487 Number of Subarrays with Bounded Maximum
488 Number of Substrings Containing All Three Characters
489 Number of Substrings With Only 1s
490 Number of Ways to Split Array
491 Number of Zero-Filled Subarrays
492 Numbers With Same Consecutive Differences
493 Odd Even Linked Lists
494 One Edit Distance
495 Ones and Zeroes
496 Online Election
497 Online Stock Span
498 Open The Lock
499 Optimal Division
500 Optimal Partition of String
501 Out of Boundary Paths
502 Output Contest Matches
503 Pacific Atlantic Water Flow
504 Palindrome Partitioning
505 Palindromic Substrings
506 Pancake Sorting
507 Parallel Courses
508 Partition Array According to Given Pivot
509 Partition Equal Subset Sum
510 Partition Labels
511 Partition List
512 Partitioning Into Minimum Number Of Deci-Binary Numbers
513 Path Sum II
514 Path Sum III
515 Path With Maximum Minimum Value
516 Path With Minimum Effort
517 Path with Maximum Gold
518 Path with Maximum Probability
519 Peeking Iterator
520 People Whose List of Favorite Companies Is Not a Subset of Another List
521 Perfect Squares
522 Permutation in String
523 Permutations II
524 Permutations
525 Plus One Linked List
526 Populating Next Right Pointers in Each Node II
527 Populating Next Right Pointers in Each Node
528 Possible Bipartition
529 Pour Water
530 Pow(x, n)
531 Pow
532 Prime Palindrome
533 Print Binary Tree
534 Print Immutable Linked List in Reverse
535 Print Words Vertically
536 Prison Cells After N Days
537 Product of Array Except self
538 Product of Two Run-Length Encoded Arrays
539 Product of the Last K Numbers
540 Pseudo-Palindromic Paths in a Binary Tree
541 Push Dominoes
542 Put Boxes Into the Warehouse I
543 Queries on a Permutation With Key
544 Queue Reconstruction By Height
545 RLE Iterator
546 Rabbits in Forest
547 Random Pick Index
548 Random Pick With Weight
549 Range Addition
550 Range Sum Query - Mutable
551 Range Sum Query 2D-Immutable
552 Range Sum of Sorted Subarray Sums
553 Rank Teams by Votes
554 Reachable Nodes With Restrictions
555 Rearrange Array Elements by Sign
556 Reconstruct Original Digits from English
557 Recover Binary Search Tree
558 Rectangle Area
559 Reduce Array Size to The Half
560 Reduction Operations to Make the Array Elements Equal
561 Remove All Adjacent Duplicates in String II
562 Remove All Occurrences of a Substring
563 Remove All Ones With Row and Column Flips II
564 Remove Comments
565 Remove Covered Intervals
566 Remove Duplicate Letters
567 Remove Duplicates From Sorted Array II
568 Remove Duplicates From an Unsorted Linked List
569 Remove Duplicates from Sorted List II
570 Remove Interval
571 Remove K Digits
572 Remove Nodes From Linked List
573 Remove Nth Node From End of List
574 Remove Sub-Folders from the Filesystem
575 Remove Zero Sum Consecutive Nodes from Linked List
576 Removing Stars From a String
577 Reorder Data in Log Files
578 Reorder List
579 Reorder Routes to Make All Paths Lead to the City Zero
580 Reordered Power of 2
581 Reorganize String
582 Repeated DNA Sequences
583 Replace Elements in an Array
584 Replace Words
585 Restore IP Address
586 Restore the Array From Adjacent Pairs
587 Reverse Integer
588 Reverse Linked List II
589 Reverse Nodes in Even Length Groups
590 Reverse Odd Levels of Binary Tree
591 Reverse Substrings Between Each Pair of Parentheses
592 Reverse Words in a String II
593 Reverse Words in a String
594 Robot Bounded In Circle
595 Rotate Array
596 Rotate Function
597 Rotate Image
598 Rotate List
599 Rotated Digits
600 Rotting Oranges
601 Satisfiability of Equality Equations
602 Satisfisbility of Equality Equations
603 Score After Flipping Matrix
604 Score of Parentheses
605 Search Suggestions System
606 Search a 2D Matrix II
607 Search a 2D Matrix
608 Search for a range
609 Search in Rotated Sorted Array II
610 Search in Rotated Sorted Array
611 Search in a Sorted Array of Unknown Size
612 Seat Reservation Manager
613 Self Dividing Numbers
614 Sender With Largest Word Count
615 Sentence Similarity II
616 Sentence Similarity III
617 Sequential Digits
618 Serialize and Deserialize BST
619 Set Matrix Zeroes
620 Shifting Letters
621 Short Encoding of Words
622 Shortest Completing Word
623 Shortest Path in Binary Matrix
624 Shortest Path with Alternating Colors
625 Shortest Unsorted Continuous Subarray
626 Shortest Way to Form String
627 Shortest Word Distance II
628 Shortest Word Distance III
629 Shuffle an Array
630 Simple Bank System
631 Simplify Path
632 Single Element in a Sorted Array
633 Single Number II
634 Single Number III
635 Smallest Integer Divisible by K
636 Smallest String Starting From Leaf
637 Smallest String With A Given Numeric Value
638 Smallest String With Swaps
639 Smallest Subtree with all the Deepest Nodes
640 Smallest Value of the Rearranged Number
641 Snakes and Ladders
642 Snapshot Array
643 Solve the Equation
644 Sort An Array
645 Sort Characters By Frequency
646 Sort Colors
647 Sort Integers by The Power Value
648 Sort List
649 Sort Transformed Array
650 Sort the Jumbled Numbers
651 Sort the Matrix Diagonally
652 Sort the Students by Their Kth Score
653 Sparse Matrix Multiplication
654 Spiral Matrix II
655 Spiral Matrix
656 Split Array into Consecutive Subsequences
657 Split BST
658 Split Linked List in Parts
659 Statistics from a Large Sample
660 Step-By-Step Directions From a Binary Tree Node to Another
661 Stock Price Fluctuation
662 Strictly Palindromic Number
663 String Compression
664 String to Integer (atoi)
665 Subarray Product Less Than K
666 Subarray Sum Equals K
667 Subarray Sums Divisible by K
668 Subdomain Visit Count
669 Subrectangle Queries
670 Subsets II
671 Subsets
672 Successful Pairs of Spells and Potions
673 Sum Root to Leaf Numbers
674 Sum of Absolute Differences in a Sorted Array
675 Sum of Beauty of All Substrings
676 Sum of Even Numbers After Queries
677 Sum of Nodes with Even-Valued Grandparent
678 Sum of Numbers With Units Digit K
679 Sum of Subarray Minimums
680 Super Ugly Number
681 Surrounded Regions
682 Swap For Longest Repeated Character Substring
683 Swap Nodes in Pairs
684 Swapping Nodes in a Linked List
685 Synonymous Sentences
686 Target Sum
687 Task Scheduler
688 Ternary Expression Parser
689 The Earliest Moment When Everyone Become Friends
690 The Number of Full Rounds You Have Played
691 The Number of Weak Characters in the Game
692 The k Strongest Values in an Array
693 The kth Factor of n
694 Throne Inheritence
695 Time Based Key-Value Store
696 Time Needed to Inform All Employees
697 Time Needed to Rearrange a Binary String
698 Top K Frequent Elements
699 Top K Frequent Words
700 Total Hamming Distance
701 Tree Diameter
702 Triangle
703 Trim a Binary Search Tree
704 Tuple With Same Product
705 Tweet Counts Per Frequency
706 Two City Scheduling
707 Two Sum BSTs
708 Two Sum II - Input Array Is Sorted
709 UTF-8 Validation
710 Ugly Number II
711 Uncrossed Lines
712 Unique Binary Search Trees
713 Unique Paths II
714 Unique Paths
715 Unique Word Abbrevation
716 Valid Parenthesis String
717 Valid Square
718 Valid Sudoku
719 Valid Tic-Tac-Toe State
720 Valid Triangle Number
721 Validate Binary Search Tree
722 Validate IP Address
723 Validate Stack Sequences
724 Verify Preorder Serialization of a Binary Tree
725 Vowel Spellchecker
726 Vowels of All Substrings
727 Walls and Gates
728 Water & Jug Problem
729 Watering Plants
730 Web Crawler
731 Wiggle Sort
732 Wiggle Subsequence
733 Word Break
734 Word Ladder
735 Word Search
736 Word Subsets
737 ZigZag Conversion
738 Zigzag Iterator