Skip to content

SuperheroesValley/Leetcode-Study-Plans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Leetcode Study Plans

Programming Skills

Programming Skills I

  1. Count Odd Numbers in an Interval Range
  2. Average Salary Excluding the Minimum and Maximum Salary
  3. Number of 1 Bits
  4. Subtract the Product and Sum of Digits of an Integer
  5. Largest Perimeter Triangle
  6. Find Nearest Point That Has the Same X or Y Coordinate
  7. Sign of the Product of an Array
  8. Can Make Arithmetic Progression From Sequence
  9. Happy Number
  10. Check if One String Swap Can Make Strings Equal
  11. N-ary Tree Preorder Traversal
  12. Next Greater Element I
  13. Check If It Is a Straight Line
  14. Sum of All Odd Length Subarrays
  15. Move Zeroes
  16. Richest Customer Wealth
  17. Matrix Diagonal Sum
  18. Reshape the Matrix
  19. Merge Strings Alternately
  20. Goal Parser Interpretation
  21. Find the Difference
  22. To Lower Case
  23. Decrypt String from Alphabet to Integer Mapping
  24. Verifying an Alien Dictionary
  25. Convert Binary Number in a Linked List to Integer
  26. Middle of the Linked List
  27. Maximum Depth of Binary Tree
  28. Sum of Left Leaves
  29. Sort Integers by The Number of 1 Bits
  30. Implement Queue using Stacks
  31. Valid Anagram
  32. Contains Duplicate
  33. Design Parking System
  34. Range Sum Query - Immutable

Programming Skills II

  1. Monotonic Array
  2. Implement strStr()
  3. Balanced Binary Tree
  4. Repeated Substring Pattern
  5. Evaluate Reverse Polish Notation
  6. Plus One
  7. Linked List in Binary Tree
  8. Multiply Strings
  9. Add Binary
  10. Add to Array-Form of Integer
  11. Daily Temperatures
  12. Length of Last Word
  13. Rotate Image
  14. Determine Whether Matrix Can Be Obtained By Rotation
  15. Spiral Matrix
  16. K Closest Points to Origin
  17. Arithmetic Subarrays
  18. N-ary Tree Level Order Traversal
  19. Next Greater Element II
  20. Next Greater Element III
  21. Time Needed to Inform All Employees
  22. Group Anagrams
  23. Find All Anagrams in a String
  24. Subarray Product Less Than K
  25. Range Sum Query 2D - Immutable
  26. Smallest Range II
  27. Reorder List
  28. Copy List with Random Pointer
  29. Add Two Numbers
  30. Add Two Numbers II
  31. Rotate List
  32. Binary Search Tree Iterator
  33. Seat Reservation Manager
  34. Lemonade Change
  35. Min Stack
  36. Flatten Nested List Iterator
  37. Design Authentication Manager
  38. Design Linked List
  39. Insert Delete GetRandom O(1)
  40. Design Circular Queue
  41. My Calendar I

Programming Skills III

  1. Add Two Polynomials Represented as Linked Lists
  2. Plus One Linked List
  3. Remove Duplicates From an Unsorted Linked List
  4. Convert Binary Search Tree to Sorted Doubly Linked List
  5. Maximum Size Subarray Sum Equals k
  6. Minimum Size Subarray Sum
  7. Contiguous Array
  8. Maximum Number of Consecutive Values You Can Make
  9. Verify Preorder Sequence in Binary Search Tree
  10. Basic Calculator
  11. Online Stock Span
  12. Different Ways to Add Parentheses
  13. Serialize and Deserialize BST
  14. String to Integer (atoi)
  15. Sort List
  16. Merge k Sorted Lists
  17. Insert into a Sorted Circular Linked List
  18. Expression Add Operators
  19. Basic Calculator II
  20. Basic Calculator III
  21. Design Circular Deque
  22. Product of the Last K Numbers
  23. Build Binary Expression Tree From Infix Expression
  24. Shortest Palindrome
  25. Valid Number
  26. Implement Trie (Prefix Tree)
  27. Implement Trie II (Prefix Tree)
  28. Design Search Autocomplete System
  29. Find Median from Data Stream
  30. Maximum Frequency Stack
  31. LRU Cache
  32. Design Add and Search Words Data Structure
  33. Serialize and Deserialize Binary Tree
  34. Zigzag Iterator
  35. Design Tic-Tac-Toe
  36. Design File System
  37. Binary Search Tree Iterator II
  38. Dot Product of Two Sparse Vectors
  39. Design A Leaderboard
  40. Design an Expression Tree With Evaluate Function
  41. LFU Cache
  42. Shortest Word Distance II
  43. Design Snake Game
  44. Flatten 2D Vector
  45. Fancy Sequence
  46. Exam Room
  47. Design Log Storage System
  48. Design Excel Sum Formula
  49. Range Sum Query - Mutable
  50. Encode and Decode TinyURL
  51. Encode N-ary Tree to Binary Tree
  52. Insert Delete GetRandom O(1) - Duplicates allowed
  53. Design Underground System
  54. Range Module

Data Structure

Data Structure I

  1. Contains Duplicate
  2. Maximum Subarray
  3. Two Sum
  4. Merge Sorted Array
  5. Intersection of Two Arrays II
  6. Best Time to Buy and Sell Stock
  7. Reshape the Matrix
  8. Pascal's Triangle
  9. Valid Sudoku
  10. Search a 2D Matrix
  11. First Unique Character in a String
  12. Ransom Note
  13. Valid Anagram
  14. Linked List Cycle
  15. Merge Two Sorted Lists
  16. Remove Linked List Elements
  17. Reverse Linked List
  18. Remove Duplicates from Sorted List
  19. Valid Parentheses
  20. Implement Queue using Stacks
  21. Binary Tree Preorder Traversal
  22. Binary Tree Inorder Traversal
  23. Binary Tree Postorder Traversal
  24. Binary Tree Level Order Traversal
  25. Maximum Depth of Binary Tree
  26. Symmetric Tree
  27. Invert Binary Tree
  28. Path Sum
  29. Search in a Binary Search Tree
  30. Insert into a Binary Search Tree
  31. Validate Binary Search Tree
  32. Two Sum IV - Input is a BST
  33. Lowest Common Ancestor of a Binary Search Tree

Data Structure II

  1. Single Number
  2. Majority Element
  3. 3Sum
  4. Sort Colors
  5. Merge Intervals
  6. Design HashMap
  7. Pascal's Triangle II
  8. Rotate Image
  9. Spiral Matrix II
  10. Search a 2D Matrix II
  11. Non-overlapping Intervals
  12. Increasing Triplet Subsequence
  13. Product of Array Except Self
  14. Subarray Sum Equals K
  15. Add Strings
  16. Longest Palindrome
  17. Word Pattern
  18. Partition Labels
  19. Group Anagrams
  20. Multiply Strings
  21. Repeated DNA Sequences
  22. Longest Palindromic Substring
  23. Add Two Numbers
  24. Linked List Cycle II
  25. Intersection of Two Linked Lists
  26. Remove Duplicates from Sorted List II
  27. Swap Nodes in Pairs
  28. Design Linked List
  29. Reverse Nodes in k-Group
  30. Reorder List
  31. Min Stack
  32. Minimum Remove to Make Valid Parentheses
  33. Find the Winner of the Circular Game
  34. Convert Sorted Array to Binary Search Tree
  35. Construct Binary Tree from Preorder and Inorder Traversal
  36. Binary Tree Zigzag Level Order Traversal
  37. Binary Tree Right Side View
  38. Path Sum II
  39. Delete Node in a BST
  40. Kth Smallest Element in a BST
  41. Binary Search Tree Iterator
  42. Lowest Common Ancestor of a Binary Tree
  43. Serialize and Deserialize Binary Tree
  44. Find the Town Judge
  45. Minimum Number of Vertices to Reach All Nodes
  46. Keys and Rooms
  47. Kth Largest Element in an Array
  48. Top K Frequent Elements
  49. Sort Characters By Frequency
  50. K Closest Points to Origin

Data Structure III

  1. Maximum Size Subarray Sum Equals k
  2. Minimum Swaps to Group All 1's Together
  3. Sum of All Odd Length Subarrays
  4. Minimum Number of Arrows to Burst Balloons
  5. Longest Consecutive Sequence
  6. 4Sum II
  7. Find All Numbers Disappeared in an Array
  8. Perform String Shifts
  9. Longest Palindrome
  10. Repeated DNA Sequences
  11. Longest Palindromic Substring
  12. Wildcard Matching
  13. Shortest Palindrome
  14. Add Two Polynomials Represented as Linked Lists
  15. Plus One Linked List
  16. Sort List
  17. Copy List with Random Pointer
  18. Flatten a Multilevel Doubly Linked List
  19. Zigzag Iterator
  20. Decode String
  21. Daily Temperatures
  22. Trapping Rain Water
  23. Remove K Digits
  24. 132 Pattern
  25. Largest Rectangle in Histogram
  26. Shortest Subarray with Sum at Least K
  27. Find Nearest Right Node in Binary Tree
  28. Find All The Lonely Nodes
  29. Diameter of N-Ary Tree
  30. House Robber III
  31. Delete Leaves With a Given Value
  32. Find Leaves of Binary Tree
  33. Binary Tree Maximum Path Sum
  34. Binary Tree Cameras
  35. Possible Bipartition
  36. Cheapest Flights Within K Stops
  37. Graph Valid Tree
  38. Number of Provinces
  39. Satisfiability of Equality Equations
  40. Number of Operations to Make Network Connected
  41. Number of Islands II
  42. Remove Max Number of Edges to Keep Graph Fully Traversable
  43. Number of Connected Components in an Undirected Graph
  44. The Earliest Moment When Everyone Become Friends
  45. Meeting Rooms II
  46. Merge k Sorted Lists
  47. Kth Smallest Element in a Sorted Matrix
  48. Find Median from Data Stream
  49. Rearrange String k Distance Apart
  50. Employee Free Time
  51. The Skyline Problem
  52. Design Most Recently Used Queue
  53. My Calendar I
  54. Find Servers That Handled Most Number of Requests
  55. Implement Trie (Prefix Tree)
  56. Design Add and Search Words Data Structure
  57. Longest Word With All Prefixes
  58. Word Search II
  59. Palindrome Pairs
  60. Design Search Autocomplete System

Algorithm

Algorithm I

  1. Binary Search
  2. First Bad Version
  3. Search Insert Position
  4. Squares of a Sorted Array
  5. Rotate Array
  6. Move Zeroes
  7. Two Sum II - Input Array Is Sorted
  8. Reverse String
  9. Reverse Words in a String III
  10. Middle of the Linked List
  11. Remove Nth Node From End of List
  12. Longest Substring Without Repeating Characters
  13. Permutation in String
  14. Flood Fill
  15. Max Area of Island
  16. Merge Two Binary Trees
  17. Populating Next Right Pointers in Each Node
  18. 01 Matrix
  19. Rotting Oranges
  20. Merge Two Sorted Lists
  21. Reverse Linked List
  22. Combinations
  23. Permutations
  24. Letter Case Permutation
  25. Climbing Stairs
  26. House Robber
  27. Triangle
  28. Power of Two
  29. Number of 1 Bits
  30. Reverse Bits
  31. Single Number

Algorithm II

  1. Find First and Last Position of Element in Sorted Array
  2. Search in Rotated Sorted Array
  3. Search a 2D Matrix
  4. Find Minimum in Rotated Sorted Array
  5. Find Peak Element
  6. Remove Duplicates from Sorted List II
  7. 3Sum
  8. Backspace String Compare
  9. Interval List Intersections
  10. Container With Most Water
  11. Find All Anagrams in a String
  12. Subarray Product Less Than K
  13. Minimum Size Subarray Sum
  14. Number of Islands
  15. Number of Provinces
  16. Populating Next Right Pointers in Each Node II
  17. Subtree of Another Tree
  18. Shortest Path in Binary Matrix
  19. Surrounded Regions
  20. All Paths From Source to Target
  21. Subsets
  22. Subsets II
  23. Permutations II
  24. Combination Sum
  25. Combination Sum II
  26. Letter Combinations of a Phone Number
  27. Generate Parentheses
  28. Word Search
  29. House Robber II
  30. Jump Game
  31. Jump Game II
  32. Unique Paths
  33. Longest Palindromic Substring
  34. Arithmetic Slices
  35. Decode Ways
  36. Word Break
  37. Longest Increasing Subsequence
  38. Number of Longest Increasing Subsequence
  39. Longest Common Subsequence
  40. Delete Operation for Two Strings
  41. Edit Distance
  42. Coin Change
  43. Integer Break
  44. Bitwise AND of Numbers Range
  45. Shuffle an Array
  46. Happy Number
  47. Max Points on a Line

Algorithm III

  1. Missing Element in Sorted Array
  2. Find a Peak Element II
  3. Divide Chocolate
  4. Shortest Distance to Target Color
  5. Meeting Scheduler
  6. Find the Duplicate Number
  7. Trapping Rain Water
  8. Product of Two Run-Length Encoded Arrays
  9. Longest Substring with At Most Two Distinct Characters
  10. Longest Substring with At Most K Distinct Characters
  11. Max Consecutive Ones III
  12. Sliding Window Maximum
  13. Minimum Window Substring
  14. Walls and Gates
  15. Pacific Atlantic Water Flow
  16. Find All The Lonely Nodes
  17. Kill Process
  18. All Nodes Distance K in Binary Tree
  19. Open the Lock
  20. Number of Operations to Make Network Connected
  21. Minimum Cost to Make at Least One Valid Path in a Grid
  22. Critical Connections in a Network
  23. Factor Combinations
  24. Decode String
  25. N-Queens
  26. Sudoku Solver
  27. Regular Expression Matching
  28. Different Ways to Add Parentheses
  29. Remove Invalid Parentheses
  30. Robot Room Cleaner
  31. Maximum Subarray
  32. Median of Two Sorted Arrays
  33. Count of Smaller Numbers After Self
  34. Best Time to Buy and Sell Stock with Cooldown
  35. Best Time to Buy and Sell Stock with Transaction Fee
  36. Split Array Largest Sum
  37. House Robber III
  38. Maximal Square
  39. Maximal Rectangle
  40. Predict the Winner
  41. Palindrome Partitioning
  42. Palindrome Partitioning II
  43. Partition Equal Subset Sum
  44. Minimum Cost For Tickets
  45. Best Time to Buy and Sell Stock III
  46. Dungeon Game
  47. Course Schedule
  48. Course Schedule II
  49. Minimum Height Trees
  50. Longest Increasing Path in a Matrix
  51. Parallel Courses
  52. Alien Dictionary
  53. Single Number III
  54. Shortest Path to Get All Keys
  55. Minimum Number of K Consecutive Bit Flips
  56. Design Underground System
  57. LRU Cache
  58. Time Based Key-Value Store
  59. Range Module
  60. LFU Cache

Graph Theory

Graph Theory I

  1. Flood Fill
  2. Number of Islands
  3. Max Area of Island
  4. Number of Closed Islands
  5. Number of Enclaves
  6. Count Sub Islands
  7. As Far from Land as Possible
  8. Pacific Atlantic Water Flow
  9. Shortest Path in Binary Matrix
  10. 01 Matrix
  11. Shortest Bridge
  12. Nearest Exit from Entrance in Maze
  13. All Paths From Source to Target
  14. Keys and Rooms
  15. Number of Provinces
  16. Number of Operations to Make Network Connected
  17. Time Needed to Inform All Employees
  18. Find Eventual Safe States
  19. Shortest Path with Alternating Colors
  20. Reorder Routes to Make All Paths Lead to the City Zero
  21. Shortest Path Visiting All Nodes
  22. Jump Game III
  23. Minimum Jumps to Reach Home
  24. Water and Jug Problem
  25. Minimum Genetic Mutation
  26. Open the Lock
  27. Word Ladder
  28. Find the Town Judge
  29. Minimum Number of Vertices to Reach All Nodes
  30. Maximal Network Rank
  31. Possible Bipartition
  32. Is Graph Bipartite?

Graph Theory II

  1. Graph Valid Tree
  2. Redundant Connection
  3. Redundant Connection II
  4. Remove Max Number of Edges to Keep Graph Fully Traversable
  5. The Earliest Moment When Everyone Become Friends
  6. Satisfiability of Equality Equations
  7. Lexicographically Smallest Equivalent String
  8. Sentence Similarity II
  9. Synonymous Sentences
  10. Smallest String With Swaps
  11. Accounts Merge
  12. Similar String Groups
  13. Number of Islands II
  14. Minimize Malware Spread
  15. Minimize Malware Spread II
  16. Graph Connectivity With Threshold
  17. Checking Existence of Edge Length Limited Paths
  18. Data Stream as Disjoint Intervals
  19. Course Schedule
  20. Course Schedule II
  21. Minimum Height Trees
  22. Parallel Courses
  23. Alien Dictionary
  24. Largest Color Value in a Directed Graph
  25. Strange Printer II
  26. Sort Items by Groups Respecting Dependencies
  27. Connecting Cities With Minimum Cost
  28. Min Cost to Connect All Points
  29. Optimize Water Distribution in a Village
  30. Swim in Rising Water
  31. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
  32. Cheapest Flights Within K Stops
  33. Path With Minimum Effort
  34. Path with Maximum Probability
  35. Minimum Cost to Reach Destination in Time
  36. Minimum Cost to Make at Least One Valid Path in a Grid
  37. Network Delay Time
  38. The Maze II
  39. The Maze III
  40. Find the City With the Smallest Number of Neighbors at a Threshold Distance
  41. Course Schedule IV
  42. Number of Restricted Paths From First to Last Node
  43. Number of Connected Components in an Undirected Graph
  44. The Maze
  45. Shortest Distance from All Buildings
  46. Minimum Moves to Move a Box to Their Target Location
  47. Jump Game IV
  48. Shortest Path to Get All Keys
  49. Cat and Mouse
  50. Number of Distinct Islands
  51. Sum of Distances in Tree
  52. Parallel Courses II
  53. Critical Connections in a Network

Dynamic Programming

Dynamic Programming I

  1. Fibonacci Number
  2. N-th Tribonacci Number
  3. Climbing Stairs
  4. Min Cost Climbing Stairs
  5. House Robber
  6. House Robber II
  7. Delete and Earn
  8. Jump Game
  9. Jump Game II
  10. Maximum Subarray
  11. Maximum Sum Circular Subarray
  12. Maximum Product Subarray
  13. Maximum Length of Subarray With Positive Product
  14. Best Sightseeing Pair
  15. Best Time to Buy and Sell Stock
  16. Best Time to Buy and Sell Stock II
  17. Best Time to Buy and Sell Stock with Cooldown
  18. Best Time to Buy and Sell Stock with Transaction Fee
  19. Word Break
  20. Trapping Rain Water
  21. Arithmetic Slices
  22. Decode Ways
  23. Ugly Number II
  24. Unique Binary Search Trees
  25. Pascal's Triangle
  26. Pascal's Triangle II
  27. Minimum Falling Path Sum
  28. Triangle
  29. Matrix Block Sum
  30. Range Sum Query 2D - Immutable
  31. Unique Paths
  32. Unique Paths II
  33. Minimum Path Sum
  34. Maximal Square
  35. Longest Palindromic Substring
  36. Longest Palindromic Subsequence
  37. Longest Increasing Subsequence
  38. Wiggle Subsequence
  39. Is Subsequence
  40. Longest Common Subsequence
  41. Edit Distance
  42. Coin Change
  43. Coin Change 2
  44. Combination Sum IV
  45. Integer Break
  46. Perfect Squares

Dynamic Programming II

  1. Fibonacci Number
  2. Climbing Stairs
  3. Min Cost Climbing Stairs
  4. Maximum Subarray
  5. House Robber
  6. House Robber II
  7. Paint House
  8. Paint House II
  9. Best Time to Buy and Sell Stock
  10. Best Time to Buy and Sell Stock with Transaction Fee
  11. Best Time to Buy and Sell Stock with Cooldown
  12. Maximum Product Subarray
  13. Max Consecutive Ones II
  14. Wiggle Subsequence
  15. Maximum Subarray Sum After One Operation
  16. Toss Strange Coins
  17. Longest Common Subsequence
  18. Uncrossed Lines
  19. Minimum ASCII Delete Sum for Two Strings
  20. Longest Increasing Subsequence
  21. Number of Longest Increasing Subsequence
  22. Longest String Chain
  23. Maximum Length of Pair Chain
  24. Largest Divisible Subset
  25. Palindromic Substrings
  26. Longest Palindromic Substring
  27. Shortest Way to Form String
  28. Longest Palindromic Subsequence
  29. Minimum Path Sum
  30. Longest Line of Consecutive One in Matrix
  31. Shortest Distance to Target Color
  32. Integer Break
  33. Product of Array Except Self
  34. Word Break
  35. Factor Combinations
  36. Longest Increasing Path in a Matrix
  37. Unique Paths
  38. Unique Paths II
  39. Out of Boundary Paths
  40. 2 Keys Keyboard
  41. Bomb Enemy
  42. Unique Binary Search Trees
  43. Minimum Cost Tree From Leaf Values
  44. Coin Change
  45. Coin Change 2
  46. Combination Sum
  47. Perfect Squares
  48. Partition Equal Subset Sum
  49. Target Sum

Dynamic Programming III

  1. Egg Drop With 2 Eggs and N Floors
  2. Super Egg Drop
  3. Best Time to Buy and Sell Stock III
  4. Best Time to Buy and Sell Stock IV
  5. Maximum Number of Events That Can Be Attended II
  6. Maximum Profit in Job Scheduling
  7. Handshakes That Don't Cross
  8. Allocate Mailboxes
  9. Distinct Subsequences
  10. Non-overlapping Intervals
  11. Minimum Number of Arrows to Burst Balloons
  12. Edit Distance
  13. Longest Palindromic Subsequence II
  14. Longest Repeating Substring
  15. Shortest Common Supersequence
  16. Regular Expression Matching
  17. Valid Palindrome III
  18. Minimum Window Subsequence
  19. Cherry Pickup
  20. Cherry Pickup II
  21. Word Break II
  22. Android Unlock Patterns
  23. Knight Probability in Chessboard
  24. Number Of Corner Rectangles
  25. 4 Keys Keyboard
  26. Find the Derangement of An Array
  27. Count Ways to Distribute Candies
  28. Sentence Screen Fitting
  29. Burst Balloons
  30. Palindrome Removal
  31. Combination Sum II
  32. Minimum Cost For Tickets
  33. Last Stone Weight II
  34. Profitable Schemes
  35. Predict the Winner
  36. Stone Game III
  37. Stone Game IV
  38. Can I Win
  39. Stone Game II
  40. Partition to K Equal Sum Subsets
  41. Campus Bikes II
  42. Number of Ways to Wear Different Hats to Each Other
  43. Numbers At Most N Given Digit Set
  44. Non-negative Integers without Consecutive Ones
  45. Digit Count in Range
  46. Binary Tree Longest Consecutive Sequence
  47. Binary Tree Longest Consecutive Sequence II
  48. Largest BST Subtree
  49. Delete Tree Nodes
  50. Maximum Vacation Days

Dynamic Programming IV

  1. Best Time to Buy and Sell Stock III
  2. Best Time to Buy and Sell Stock IV
  3. Maximum Number of Events That Can Be Attended II
  4. Maximum Profit in Job Scheduling
  5. Handshakes That Don't Cross
  6. Allocate Mailboxes
  7. Longest Valid Parentheses
  8. Filling Bookcase Shelves
  9. Count Square Submatrices with All Ones
  10. Bomb Enemy
  11. Number of Dice Rolls With Target Sum
  12. Number of Ways to Stay in the Same Place After Some Steps
  13. Count All Possible Routes
  14. Number of Ways to Form a Target String Given a Dictionary
  15. Distinct Subsequences II
  16. Number of Ways to Rearrange Sticks With K Sticks Visible
  17. Build Array Where You Can Find The Maximum Exactly K Comparisons
  18. Knight Probability in Chessboard
  19. New 21 Game
  20. Minimum Cost to Cut a Stick
  21. Minimum Insertion Steps to Make a String Palindrome
  22. Palindrome Partitioning III
  23. Minimum Cost to Merge Stones
  24. Strange Printer
  25. Remove Boxes
  26. Flip Game II
  27. Stone Game III
  28. Stone Game IV
  29. Stone Game II
  30. Beautiful Arrangement
  31. Minimum XOR Sum of Two Arrays
  32. Unique Paths III
  33. Shortest Path Visiting All Nodes
  34. Smallest Sufficient Team
  35. Stickers to Spell Word
  36. Distribute Repeating Integers
  37. Maximum Students Taking Exam
  38. Number of Ways to Wear Different Hats to Each Other
  39. Maximize Score After N Operations
  40. Maximum Number of Groups Getting Fresh Donuts
  41. Numbers With Repeated Digits
  42. Digit Count in Range
  43. Smallest Subtree with all the Deepest Nodes
  44. Longest ZigZag Path in a Binary Tree
  45. All Possible Full Binary Trees
  46. House Robber III
  47. Binary Tree Maximum Path Sum
  48. Minimum Cost Tree From Leaf Values
  49. Binary Tree Cameras
  50. Kth Ancestor of a Tree Node
  51. Constrained Subsequence Sum
  52. Arithmetic Slices II - Subsequence
  53. Odd Even Jump
  54. Delivering Boxes from Storage to Ports
  55. Shortest Way to Form String
  56. Dungeon Game
  57. Freedom Trail
  58. Paint House III
  59. Encode String with Shortest Length
  60. Tiling a Rectangle with the Fewest Squares

Binary Search

Binary Search I

  1. Binary Search
  2. Guess Number Higher or Lower
  3. Search Insert Position
  4. Peak Index in a Mountain Array
  5. Valid Perfect Square
  6. Find the Distance Value Between Two Arrays
  7. Sqrt(x)
  8. Find Smallest Letter Greater Than Target
  9. First Bad Version
  10. Find First and Last Position of Element in Sorted Array
  11. Arranging Coins
  12. Kth Missing Positive Number
  13. Two Sum II - Input Array Is Sorted
  14. Special Array With X Elements Greater Than or Equal X
  15. Count Negative Numbers in a Sorted Matrix
  16. Search a 2D Matrix
  17. The K Weakest Rows in a Matrix
  18. Check If N and Its Double Exist
  19. Intersection of Two Arrays II
  20. Sum of Square Numbers
  21. Maximum Distance Between a Pair of Values
  22. Search in Rotated Sorted Array
  23. Find Minimum in Rotated Sorted Array

Binary Search II

  1. Minimum Size Subarray Sum
  2. Valid Triangle Number
  3. Find K Closest Elements
  4. Find the Student that Will Replace the Chalk
  5. Longest Increasing Subsequence
  6. Minimum Limit of Balls in a Bag
  7. Koko Eating Bananas
  8. Magnetic Force Between Two Balls
  9. Find the Duplicate Number
  10. Find the Smallest Divisor Given a Threshold
  11. Maximum Number of Removable Characters
  12. Minimum Speed to Arrive on Time
  13. Minimum Number of Days to Make m Bouquets
  14. Minimum Absolute Sum Difference
  15. Search a 2D Matrix II
  16. H-Index II
  17. Frequency of the Most Frequent Element
  18. Single Element in a Sorted Array
  19. Count Complete Tree Nodes
  20. Ways to Split Array Into Three Subarrays
  21. Most Profit Assigning Work
  22. Find Right Interval
  23. Search in Rotated Sorted Array II
  24. Find Peak Element
  25. Find Minimum in Rotated Sorted Array II
  26. Random Pick with Weight
  27. Range Sum of Sorted Subarray Sums
  28. Shortest Subarray to be Removed to Make Array Sorted
  29. Maximum Side Length of a Square with Sum Less than or Equal to Threshold
  30. Number of Subsequences That Satisfy the Given Sum Condition
  31. Time Based Key-Value Store
  32. Sum of Mutated Array Closest to Target
  33. Maximum Value at a Given Index in a Bounded Array
  34. Find a Peak Element II
  35. Snapshot Array
  36. Avoid Flood in The City
  37. Find Latest Group of Size M
  38. Sell Diminishing-Valued Colored Balls
  39. Ugly Number III
  40. Online Election

Binary Search III

  1. Intersection of Three Sorted Arrays
  2. Two Sum Less Than K
  3. Check If a Number Is Majority Element in a Sorted Array
  4. Leftmost Column with at Least a One
  5. Search in a Sorted Array of Unknown Size
  6. Capacity To Ship Packages Within D Days
  7. Find the Index of the Large Integer
  8. Missing Element in Sorted Array
  9. Closest Binary Search Tree Value
  10. Divide Chocolate
  11. Cutting Ribbons
  12. Count Pairs in Two Arrays
  13. Maximum Font to Fit a Sentence in a Screen
  14. Preimage Size of Factorial Zeroes Function
  15. Find Smallest Common Element in All Rows
  16. Kth Smallest Number in Multiplication Table
  17. Find K-th Smallest Pair Distance
  18. Maximum Number of Events That Can Be Attended II
  19. Minimum Number of Removals to Make Mountain Array
  20. K-th Smallest Prime Fraction
  21. Shortest Distance to Target Color
  22. Maximum Score of a Good Subarray
  23. Find in Mountain Array
  24. Median of Two Sorted Arrays
  25. Maximum Profit in Job Scheduling
  26. Minimum Operations to Make a Subsequence
  27. Find the Kth Smallest Sum of a Matrix With Sorted Rows
  28. Closest Room
  29. Max Sum of Rectangle No Larger Than K
  30. Sum of Floored Pairs
  31. Maximum Average Subarray II
  32. Minimum Space Wasted From Packaging
  33. Random Pick with Blacklist
  34. Data Stream as Disjoint Intervals
  35. Swim in Rising Water
  36. Kth Smallest Element in a Sorted Matrix
  37. Minimize Max Distance to Gas Station
  38. Make Array Strictly Increasing
  39. Longest Repeating Substring
  40. Longest Duplicate Substring
  41. Maximum Length of Repeated Subarray
  42. Super Egg Drop
  43. Find a Value of a Mysterious Function Closest to Target
  44. Online Majority Element In Subarray
  45. Smallest Rectangle Enclosing Black Pixels
  46. Path With Minimum Effort
  47. Count Pairs Of Nodes

SQL

SQL I

  1. Big Countries
  2. Recyclable and Low Fat Products
  3. Find Customer Referee
  4. Customers Who Never Order
  5. Calculate Special Bonus
  6. Swap Salary
  7. Delete Duplicate Emails
  8. Fix Names in a Table
  9. Group Sold Products By The Date
  10. Patients With a Condition
  11. Employees With Missing Information
  12. Rearrange Products Table
  13. Tree Node
  14. Second Highest Salary
  15. Combine Two Tables
  16. Customer Who Visited but Did Not Make Any Transactions
  17. Article Views I
  18. Rising Temperature
  19. Sales Person
  20. User Activity for the Past 30 Days I
  21. Daily Leads and Partners
  22. Find Followers Count
  23. Customer Placing the Largest Number of Orders
  24. Game Play Analysis I
  25. The Latest Login in 2020
  26. Find Total Time Spent by Each Employee
  27. Capital Gain/Loss
  28. Top Travellers
  29. Market Analysis I
  30. Duplicate Emails
  31. Actors and Directors Who Cooperated At Least Three Times
  32. Bank Account Summary II
  33. Sales Analysis III

SQL II

  1. Number of Calls Between Two Persons
  2. Average Selling Price
  3. Warehouse Manager
  4. Apples & Oranges
  5. Monthly Transactions I
  6. Percentage of Users Attended a Contest
  7. Immediate Food Delivery I
  8. Queries Quality and Percentage
  9. Sellers With No Sales
  10. Biggest Single Number
  11. Highest Grade For Each Student
  12. Customers Who Bought Products A and B but Not C
  13. Evaluate Boolean Expression
  14. Page Recommendations
  15. Managers with at Least 5 Direct Reports
  16. Find the Team Size
  17. Students and Examinations
  18. Countries You Can Safely Invest In
  19. Department Highest Salary
  20. Count Student Number in Departments
  21. Weather Type in Each Country
  22. Exchange Seats
  23. Grand Slam Titles
  24. Product Price at a Given Date
  25. Consecutive Available Seats
  26. The Number of Employees Which Report to Each Employee
  27. Leetflex Banned Accounts
  28. Employees Earning More Than Their Managers
  29. Rectangles Area
  30. Consecutive Numbers
  31. Find Cutoff Score for Each School
  32. The Most Recent Orders for Each Product
  33. Restaurant Growth
  34. Customers Who Bought All Products
  35. Movie Rating
  36. Orders With Maximum Quantity Above Average
  37. Game Play Analysis IV
  38. Trips and Users

SQL III

  1. Find the Team Size
  2. Running Total for Different Genders
  3. Countries You Can Safely Invest In
  4. Project Employees III
  5. The Most Recent Orders for Each Product
  6. Find the Start and End Number of Continuous Ranges
  7. The Most Frequently Ordered Products for Each Customer
  8. Rank Scores
  9. Nth Highest Salary
  10. All the Pairs With the Maximum Number of Common Followers
  11. Biggest Window Between Visits
  12. Strong Friendship
  13. The Most Recent Three Orders
  14. Active Businesses
  15. Maximum Transaction Each Day
  16. Find the Missing IDs
  17. All People Report to the Given Manager
  18. Get the Second Most Recent Activity
  19. Find the Quiet Students in All Exams
  20. First and Last Call On the Same Day
  21. Department Top Three Salaries
  22. Find the Subtasks That Did Not Execute
  23. Total Sales Amount by Year
  24. Median Employee Salary
  25. Find Median Given Frequency of Numbers
  26. Report Contiguous Dates
  27. Active Users
  28. Students Report By Geography
  29. The Number of Seniors and Juniors to Join the Company II

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published