Medium LeetCode Problems: Page 2 of 8

Problems 201 to 400 of the 1,579 Medium-rated problems in this library, continuing the list on the Medium hub.

ProblemsPage 2 of 8
Medium problems, page 2
No.Problem
0433Minimum Genetic Mutation
0435Non-overlapping Intervals
0436Find Right Interval
0437Path Sum III
0438Find All Anagrams in a String
0442Find All Duplicates in an Array
0443String Compression
0445Add Two Numbers II
0447Number of Boomerangs
0449Serialize and Deserialize BST
0450Delete Node in a BST
0451Sort Characters By Frequency
0452Minimum Number of Arrows to Burst Balloons
0453Minimum Moves to Equal Array Elements
04544Sum II
0456132 Pattern
0457Circular Array Loop
0462Minimum Moves to Equal Array Elements II
0464Can I Win
0467Unique Substrings in Wraparound String
0468Validate IP Address
0470Implement Rand10() Using Rand7()
0473Matchsticks to Square
0474Ones and Zeroes
0475Heaters
0477Total Hamming Distance
0478Generate Random Point in a Circle
0481Magical String
0486Predict the Winner
0491Non-decreasing Subsequences
0494Target Sum
0497Random Point in Non-overlapping Rectangles
0498Diagonal Traverse
0503Next Greater Element II
0508Most Frequent Subtree Sum
0513Find Bottom Left Tree Value
0515Find Largest Value in Each Tree Row
0516Longest Palindromic Subsequence
0518Coin Change II
0519Random Flip Matrix
0522Longest Uncommon Subsequence II
0523Continuous Subarray Sum
0524Longest Word in Dictionary through Deleting
0525Contiguous Array
0526Beautiful Arrangement
0528Random Pick with Weight
0529Minesweeper
0532K-diff Pairs in an Array
0535Encode and Decode TinyURL
0537Complex Number Multiplication
0538Convert BST to Greater Tree
0539Minimum Time Difference
0540Single Element in a Sorted Array
054201 Matrix
0547Number of Provinces
0550Game Play Analysis IV
0553Optimal Division
0554Brick Wall
0556Next Greater Element III
0558Logical OR of Two Binary Grids Represented as Quad-Trees
0560Subarray Sum Equals K
0565Array Nesting
0567Permutation in String
0570Managers with at Least 5 Direct Reports
0576Out of Boundary Paths
0581Shortest Unsorted Continuous Subarray
0583Delete Operation for Two Strings
0585Investments in 2016
0592Fraction Addition and Subtraction
0593Valid Square
0602Friend Requests II: Who Has the Most Friends
0606Construct String from Binary Tree
0608Tree Node
0609Find Duplicate File in System
0611Valid Triangle Number
0621Task Scheduler
0622Design Circular Queue
0623Add One Row to Tree
0624Maximum Distance in Arrays
0626Exchange Seats
0633Sum of Square Numbers
0636Exclusive Time of Functions
0638Shopping Offers
0640Solve the Equation
0641Design Circular Deque
0646Maximum Length of Pair Chain
0647Palindromic Substrings
0648Replace Words
0649Dota2 Senate
06502 Keys Keyboard
0652Find Duplicate Subtrees
0654Maximum Binary Tree
0655Print Binary Tree
0658Find K Closest Elements
0659Split Array into Consecutive Subsequences
0662Maximum Width of Binary Tree
0665Non-decreasing Array
0667Beautiful Arrangement II
0669Trim a Binary Search Tree
0670Maximum Swap
0672Bulb Switcher II
0673Number of Longest Increasing Subsequence
0676Implement Magic Dictionary
0677Map Sum Pairs
0678Valid Parenthesis String
0684Redundant Connection
0686Repeated String Match
0687Longest Univalue Path
0688Knight Probability in Chessboard
0690Employee Importance
0692Top K Frequent Words
0695Max Area of Island
0698Partition to K Equal Sum Subsets
0701Insert into a Binary Search Tree
0707Design Linked List
0712Minimum ASCII Delete Sum for Two Strings
0713Subarray Product Less Than K
0714Best Time to Buy and Sell Stock with Transaction Fee
0718Maximum Length of Repeated Subarray
0720Longest Word in Dictionary
0721Accounts Merge
0722Remove Comments
0725Split Linked List in Parts
0729My Calendar I
0731My Calendar II
0735Asteroid Collision
0738Monotone Increasing Digits
0739Daily Temperatures
0740Delete and Earn
0743Network Delay Time
0752Open the Lock
0754Reach a Number
0756Pyramid Transition Matrix
0763Partition Labels
0764Largest Plus Sign
0767Reorganize String
0769Max Chunks To Make Sorted
0775Global and Local Inversions
0777Swap Adjacent in LR String
0779K-th Symbol in Grammar
0781Rabbits in Forest
0784Letter Case Permutation
0785Is Graph Bipartite?
0786K-th Smallest Prime Fraction
0787Cheapest Flights Within K Stops
0788Rotated Digits
0789Escape The Ghosts
0790Domino and Tromino Tiling
0791Custom Sort String
0792Number of Matching Subsequences
0794Valid Tic-Tac-Toe State
0795Number of Subarrays with Bounded Maximum
0797All Paths From Source to Target
0799Champagne Tower
0802Find Eventual Safe States
0807Max Increase to Keep City Skyline
0808Soup Servings
0809Expressive Words
0811Subdomain Visit Count
0813Largest Sum of Averages
0814Binary Tree Pruning
0816Ambiguous Coordinates
0817Linked List Components
0820Short Encoding of Words
0822Card Flipping Game
0823Binary Trees With Factors
0825Friends Of Appropriate Ages
0826Most Profit Assigning Work
0831Masking Personal Information
0833Find And Replace in String
0835Image Overlap
0837New 21 Game
0838Push Dominoes
0840Magic Squares In Grid
0841Keys and Rooms
0842Split Array into Fibonacci Sequence
0845Longest Mountain in Array
0846Hand of Straights
0848Shifting Letters
0849Maximize Distance to Closest Person
0851Loud and Rich
0852Peak Index in a Mountain Array
0853Car Fleet
0855Exam Room
0856Score of Parentheses
0858Mirror Reflection
0861Score After Flipping Matrix
0863All Nodes Distance K in Binary Tree
0865Smallest Subtree with all the Deepest Nodes
0866Prime Palindrome
0869Reordered Power of 2
0870Advantage Shuffle
0873Length of Longest Fibonacci Subsequence
0874Walking Robot Simulation
0875Koko Eating Bananas
0877Stone Game
0880Decoded String at Index
0881Boats to Save People
0885Spiral Matrix III
0886Possible Bipartition

Problems with a complete Python solution are listed first, then by ascending problem number. Or go by technique instead: all LeetCode patterns.