Company: Apple
- 01 Matrix
- 132 Pattern
- 3Sum Closest
- 3Sum With Multiplicity
- 3Sum
- 4Sum
- Accounts Merge
- Add Binary
- Add Two Integers
- Add Two Numbers II
- Add Two Numbers
- All Nodes Distance K in Binary Tree
- All Paths From Source to Target
- All Possible Full Binary Trees
- Amount of Time for Binary Tree to Be Infected
- Angle Between Hands of a Clock
- Apple Redistribution into Boxes
- Apply Transform Over Each Element in Array
- Arithmetic Slices II - Subsequence
- Array Nesting
- Array Partition
- Array Prototype Last
- Assign Cookies
- Asteroid Collision
- Backspace String Compare
- Bag of Tokens
- Balanced Binary Tree
- Baseball Game
- Basic Calculator II
- Basic Calculator
- Best Poker Hand
- Best Time to Buy and Sell Stock II
- Best Time to Buy and Sell Stock IV
- Best Time to Buy and Sell Stock with Cooldown
- Best Time to Buy and Sell Stock with Transaction Fee
- Best Time to Buy and Sell Stock
- Binary Search Tree Iterator
- Binary Search
- Binary Subarrays With Sum
- Binary Tree Inorder Traversal
- Binary Tree Level Order Traversal
- Binary Tree Maximum Path Sum
- Binary Tree Paths
- Binary Tree Postorder Traversal
- Binary Tree Preorder Traversal
- Boundary of Binary Tree
- Build Array from Permutation
- Can Place Flowers
- Capacity To Ship Packages Within D Days
- Car Fleet
- Car Pooling
- Cheapest Flights Within K Stops
- Check If It Is a Straight Line
- Check If Two String Arrays are Equivalent
- Climbing Stairs
- Clone Graph
- Coin Change II
- Coin Change
- Combination Sum
- Combinations
- Compare Version Numbers
- Complement of Base 10 Integer
- Construct Binary Tree from Preorder and Inorder Traversal
- Container With Most Water
- Contains Duplicate II
- Contains Duplicate
- Contiguous Array
- Continuous Subarray Sum
- Convert an Array Into a 2D Array With Conditions
- Convert Sorted Array to Binary Search Tree
- Convert Sorted List to Binary Search Tree
- Copy List with Random Pointer
- Count All Valid Pickup and Delivery Options
- Count and Say
- Count Complete Tree Nodes
- Count Good Triplets
- Count Items Matching a Rule
- Count Numbers with Unique Digits
- Count of Smaller Numbers After Self
- Count Primes
- Count Sorted Vowel Strings
- Count Subarrays Where Max Element Appears at Least K Times
- Count Subarrays With Fixed Bounds
- Count the Number of Incremovable Subarrays I
- Count the Number of Incremovable Subarrays II
- Counter
- Course Schedule II
- Course Schedule
- Create a DataFrame from List
- Create Hello World Function
- Custom Sort String
- Daily Temperatures
- Decode String
- Decode Ways
- Defanging an IP Address
- Delete and Earn
- Delete Node in a BST
- Delete Node in a Linked List
- Design Browser History
- Design Circular Queue
- Design HashMap
- Design HashSet
- Design Hit Counter
- Design Search Autocomplete System
- Design Tic-Tac-Toe
- Design Twitter
- Destination City
- Determine if Two Strings Are Close
- Diameter of Binary Tree
- Distinct Subsequences
- Divide Two Integers
- Dota2 Senate
- Edit Distance
- Element Appearing More Than 25% In Sorted Array
- Employee Free Time
- Equal Row and Column Pairs
- Evaluate Boolean Binary Tree
- Evaluate Reverse Polish Notation
- Excel Sheet Column Title
- Fair Distribution of Cookies
- Fibonacci Number
- Find All Anagrams in a String
- Find All Duplicates in an Array
- Find First and Last Position of Element in Sorted Array
- Find in Mountain Array
- Find K Closest Elements
- Find Median from Data Stream
- Find Minimum in Rotated Sorted Array II
- Find Minimum in Rotated Sorted Array
- Find Peak Element
- Find the Difference
- Find the Duplicate Number
- Find the Grid of Region Average
- Find the Highest Altitude
- Find the Index of the First Occurrence in a String
- Find the Pivot Integer
- Find the Smallest Divisor Given a Threshold
- Find Winner on a Tic Tac Toe Game
- First Bad Version
- First Letter to Appear Twice
- First Missing Positive
- First Unique Character in a String
- Fizz Buzz
- Flatten a Multilevel Doubly Linked List
- Flatten Nested List Iterator
- Flood Fill
- Frequency of the Most Frequent Element
- Furthest Building You Can Reach
- Gas Station
- Generate Parentheses
- Gray Code
- Greatest Common Divisor of Strings
- Group Anagrams
- Grumpy Bookstore Owner
- Guess the Word
- H-Index
- Happy Number
- House Robber II
- House Robber
- Implement Queue using Stacks
- Implement Stack using Queues
- Implement Trie (Prefix Tree)
- Insert Delete GetRandom O(1)
- Insert Interval
- Integer Break
- Integer to English Words
- Integer to Roman
- Interleaving String
- Intersection of Two Arrays II
- Intersection of Two Arrays
- Intersection of Two Linked Lists
- Invert Binary Tree
- Is Subsequence
- Island Perimeter
- Isomorphic Strings
- Jewels and Stones
- Join Two Arrays by ID
- Jump Game II
- Jump Game
- K Closest Points to Origin
- K-diff Pairs in an Array
- Knight Probability in Chessboard
- Koko Eating Bananas
- Kth Largest Element in a Stream
- Kth Largest Element in an Array
- Kth Smallest Element in a BST
- Kth Smallest Element in a Sorted Matrix
- Largest Divisible Subset
- Largest Number
- Largest Odd Number in String
- Largest Rectangle in Histogram
- Largest Substring Between Two Equal Characters
- Last Day Where You Can Still Cross
- Least Number of Unique Integers after K Removals
- Length of Last Word
- Length of Longest Subarray With at Most K Frequency
- Letter Case Permutation
- Letter Combinations of a Phone Number
- LFU Cache
- Linked List Cycle II
- Linked List Cycle
- Longest Absolute File Path
- Longest Common Prefix
- Longest Consecutive Sequence
- Longest Continuous Increasing Subsequence
- Longest Increasing Path in a Matrix
- Longest Increasing Subsequence II
- Longest Increasing Subsequence
- Longest Palindrome by Concatenating Two Letter Words
- Longest Palindromic Substring
- Longest Repeating Character Replacement
- Longest String Chain
- Longest Subarray of 1's After Deleting One Element
- Longest Substring with At Least K Repeating Characters
- Longest Substring Without Repeating Characters
- Longest Valid Parentheses
- Lowest Common Ancestor of a Binary Search Tree
- Lowest Common Ancestor of a Binary Tree III
- Lowest Common Ancestor of a Binary Tree
- LRU Cache
- Magnetic Force Between Two Balls
- Majority Element II
- Majority Element
- Max Chunks To Make Sorted II
- Max Consecutive Ones
- Max Number of K-Sum Pairs
- Max Points on a Line
- Maximal Network Rank
- Maximal Rectangle
- Maximal Square
- Maximum Average Subarray I
- Maximum Depth of Binary Tree
- Maximum Difference Between Node and Ancestor
- Maximum Frequency Stack
- Maximum Length of Pair Chain
- Maximum Level Sum of a Binary Tree
- Maximum Number of Events That Can Be Attended
- Maximum Number of Operations With the Same Score II
- Maximum Number of Vowels in a Substring of Given Length
- Maximum Number of Words Found in Sentences
- Maximum Population Year
- Maximum Product Difference Between Two Pairs
- Maximum Product of Three Numbers
- Maximum Product of Two Elements in an Array
- Maximum Product Subarray
- Maximum Profit in Job Scheduling
- Maximum Rows Covered by Columns
- Maximum Score of a Good Subarray
- Maximum Subarray
- Maximum Sum Circular Subarray
- Maximum Units on a Truck
- Maximum Value at a Given Index in a Bounded Array
- Maximum Width of Binary Tree
- Median of Two Sorted Arrays
- Meeting Rooms II
- Meeting Rooms
- Memoize
- Merge Intervals
- Merge k Sorted Lists
- Merge Sorted Array
- Merge Strings Alternately
- Merge Two Sorted Lists
- Middle of the Linked List
- Min Stack
- Minimize Deviation in Array
- Minimize the Maximum Difference of Pairs
- Minimum Add to Make Parentheses Valid
- Minimum Cost to Cut a Stick
- Minimum Falling Path Sum II
- Minimum Fuel Cost to Report to the Capital
- Minimum Genetic Mutation
- Minimum Moves to Spread Stones Over Grid
- Minimum Number of Arrows to Burst Balloons
- Minimum Number of Operations to Make Array Empty
- Minimum Number of Steps to Make Two Strings Anagram
- Minimum Operations to Reduce X to Zero
- Minimum Path Sum
- Minimum Remove to Make Valid Parentheses
- Minimum Seconds to Equalize a Circular Array
- Minimum Swaps to Group All 1's Together
- Minimum Window Substring
- Missing Number
- Move Zeroes
- Multiply Strings
- My Calendar I
- N-Queens
- Next Greater Element I
- Next Greater Element II
- Next Permutation
- Non-overlapping Intervals
- Nth Digit
- Number of 1 Bits
- Number of Atoms
- Number of Beautiful Integers in the Range
- Number of Changing Keys
- Number of Equivalent Domino Pairs
- Number of Good Pairs
- Number of Islands
- Number of Pairs of Strings With Concatenation Equal to Target
- Number of Squareful Arrays
- Number of Ways to Form a Target String Given a Dictionary
- Odd Even Linked List
- Online Stock Span
- Painting the Walls
- Palindrome Linked List
- Palindrome Number
- Palindrome Partitioning
- Palindrome Permutation
- Palindromic Substrings
- Partition Array According to Given Pivot
- Partition List
- Partitioning Into Minimum Number Of Deci-Binary Numbers
- Pascal's Triangle
- Path Sum III
- Peak Index in a Mountain Array
- Peeking Iterator
- Perfect Squares
- Permutation in String
- Permutations
- Plus One
- Populating Next Right Pointers in Each Node
- Power of Four
- Power of Two
- Pow(x, n)
- Print FooBar Alternately
- Product of Array Except Self
- Product of the Last K Numbers
- Rabbits in Forest
- Random Pick with Weight
- Ransom Note
- Rearrange Array Elements by Sign
- Recover Binary Search Tree
- Regular Expression Matching
- Remove All Adjacent Duplicates In String
- Remove Duplicate Letters
- Remove Duplicates from Sorted Array II
- Remove Duplicates from Sorted Array
- Remove Duplicates from Sorted List II
- Remove Duplicates from Sorted List
- Remove Element
- Remove K Digits
- Remove Linked List Elements
- Remove Nth Node From End of List
- Remove Outermost Parentheses
- Remove Zero Sum Consecutive Nodes from Linked List
- Reorder List
- Reorganize String
- Repeated DNA Sequences
- Repeated Substring Pattern
- Reverse Bits
- Reverse Integer
- Reverse Linked List II
- Reverse Linked List
- Reverse Nodes in k-Group
- Reverse Pairs
- Reverse Prefix of Word
- Reverse String
- Reverse Vowels of a String
- Reverse Words in a String II
- Reverse Words in a String
- Richest Customer Wealth
- Robot Bounded In Circle
- Roman to Integer
- Rotate Array
- Rotate Image
- Rotate List
- Rotate String
- Rotting Oranges
- Running Sum of 1d Array
- Search a 2D Matrix II
- Search a 2D Matrix
- Search in a Binary Search Tree
- Search in Rotated Sorted Array II
- Search in Rotated Sorted Array
- Search Insert Position
- Search Suggestions System
- Sequential Digits
- Serialize and Deserialize Binary Tree
- Set Matrix Zeroes
- Set Mismatch
- Shortest Bridge
- Shortest Path in a Grid with Obstacles Elimination
- Shortest Path in Binary Matrix
- Shortest Path Visiting All Nodes
- Shuffle the Array
- Similar String Groups
- Simplify Path
- Single Element in a Sorted Array
- Single Number II
- Single Number
- Sleep
- Sliding Window Maximum
- Smallest Even Multiple
- Smallest Range Covering Elements from K Lists
- Snakes and Ladders
- Sort an Array
- Sort Array by Increasing Frequency
- Sort Array By Parity
- Sort Characters By Frequency
- Sort Colors
- Sort List
- Sort the People
- Soup Servings
- Spiral Matrix
- Sqrt(x)
- Squares of a Sorted Array
- String Compression III
- String Compression
- String to Integer (atoi)
- Strong Password Checker
- Subarray Product Less Than K
- Subarray Sum Equals K
- Subarray Sums Divisible by K
- Subsets II
- Subsets
- Sudoku Solver
- Sum in a Matrix
- Sum of Square Numbers
- Sum of Subarray Minimums
- Sum of Subarray Ranges
- Sum of Total Strength of Wizards
- Sum of Two Integers
- Sum of Unique Elements
- Summary Ranges
- Surrounded Regions
- Swap Nodes in Pairs
- Symmetric Tree
- Target Sum
- Task Scheduler
- Text Justification
- The kth Factor of n
- The Skyline Problem
- Time Based Key-Value Store
- Top K Frequent Elements
- Top K Frequent Words
- Total Distance Traveled
- Transpose Matrix
- Trapping Rain Water
- Tree Diameter
- Triangle
- Two Sum II - Input Array Is Sorted
- Two Sum IV - Input is a BST
- Two Sum
- Ugly Number
- Unique Binary Search Trees II
- Unique Email Addresses
- Unique Number of Occurrences
- Unique Paths II
- Unique Paths
- Valid Anagram
- Valid Number
- Valid Palindrome II
- Valid Palindrome
- Valid Parentheses
- Valid Parenthesis String
- Valid Perfect Square
- Valid Phone Numbers
- Valid Sudoku
- Valid Word Square
- Validate Binary Search Tree
- Validate IP Address
- Verifying an Alien Dictionary
- Web Crawler Multithreaded
- Wildcard Matching
- Word Break II
- Word Break
- Word Ladder II
- Word Ladder
- Word Pattern II
- Word Pattern
- Word Search II
- Word Search
- Zigzag Conversion