Bytedance All-Time Questions:: 2. Pinterest, Pls. Thanks 3. Replyreply
Bytedance All-Time Questions:: 2. Pinterest, Pls. Thanks 3. Replyreply
1. LRU Cache, 1081. Smallest Subsequence of Distinct Characters, 316. Remove Duplicate Letters,
1997. First Day Where You Have Been in All the Rooms, 200. Number of Islands, 3. Longest
Substring Without Repeating Characters, 583. Delete Operation for Two Strings, 207. Course
Schedule, 215. Kth Largest Element in an Array, 5. Longest Palindromic Substring, 148. Sort List,
39. Combination Sum, 42. Trapping Rain Water, 198. House Robber, 213. House Robber II, 1530.
Number of Good Leaf Nodes Pairs, 128. Longest Consecutive Sequence, 1. Two Sum, 394.
Decode String, 11. Container With Most Water, 994. Rotting Oranges, 10. Regular Expression
Matching, 33. Search in Rotated Sorted Array, 40. Combination Sum II, 56. Merge Intervals, 62.
Unique Paths, 206. Reverse Linked List, 210. Course Schedule II, 221. Maximal Square, 1927. Sum
Game, 380. Insert Delete GetRandom O(1), 518. Coin Change II, 989. Add to Array-Form of
Integer, 1802. Maximum Value at a Given Index in a Bounded Array, 274. H-Index, 153. Find
Minimum in Rotated Sorted Array, 283. Move Zeroes, 31. Next Permutation, 160. Intersection of
Two Linked Lists, 46. Permutations, 50. Pow(x, n), 697. Degree of an Array, 698. Partition to K
Equal Sum Subsets, 696. Count Binary Substrings, 317. Shortest Distance from All Buildings,
2420. Find All Good Indices, 70. Climbing Stairs, 76. Minimum Window Substring, 939. Minimum
Area Rectangle, 347. Top K Frequent Elements, 834. Sum of Distances in Tree, 1143. Longest
Common Subsequence, 227. Basic Calculator II, 240. Search a 2D Matrix II, 752. Open the Lock,
121. Best Time to Buy and Sell Stock.
Microsoft last 3 months (Sort freq least to most): The Number of the Smallest Unoccupied Chair, Zigzag
Conversion, Find Largest Value in Each Tree Row, 3Sum Closest, Minimum Time to Collect All Apples in a
Tree, Find the Index of the First Occurrence in a String, Divide Two Integers, Check If a Word Occurs As a
Prefix of Any Word in a Sentence, Longest Valid Parentheses, Single Element in a Sorted Array, Valid
Sudoku, Reorder Routes to Make All Paths Lead to the City Zero, Plus One, Simplify Path, Edit Distance,
Set Matrix Zeroes, Word Search, Subsets, Remove Duplicates from Sorted List, Largest Rectangle in
Histogram, Big Countries, Partition List, Can Place Flowers, Same Tree, Smallest Missing Non-negative
Integer After Operations, Remove All Adjacent Duplicates In String, Task Scheduler, Path Sum II, Distinct
Subsequences, Two Best Non-Overlapping Events, Count Number of Maximum Bitwise-OR Subsets,
Binary Tree Maximum Path Sum, Best Time to Buy and Sell Stock III, Swap Nodes in Pairs, Longest
Consecutive Sequence, Product Sales Analysis I, Greatest Common Divisor of Strings, Count Subarrays
Where Max Element Appears at Least K Times, Reorder List, Max Consecutive Ones III, Reverse Words in
a String, Minimum Time to Visit a Cell In a Grid, Prime Subtraction Operation, Compare Version
Numbers, Excel Sheet Column Number, Counter, Largest Number, Split a String Into the Max Number of
Unique Substrings, Best Time to Buy and Sell Stock IV, Maximum Nesting Depth of the Parentheses,
Count Primes, Isomorphic Strings, Course Schedule, Contains Duplicate, N-ary Tree Level Order Traversal,
To Be Or Not To Be, Reorganize String, Palindrome Permutation, Missing Number, Alien Dictionary, Jewels
and Stones, Delete Characters to Make Fancy String, Perfect Squares, Word Pattern, Serialize and
Deserialize Binary Tree, Shortest Subarray With OR at Least K II, Double a Number Represented as a
Linked List, Longest Path With Different Adjacent Characters, Shortest Distance from All Buildings, Bus
Routes, The Number of Employees Which Report to Each Employee, Rectangle Overlap, Special Array II,
Middle of the Linked List, Random Pick with Weight, Fizz Buzz, Removing Stars From a String, Angle
Between Hands of a Clock, Frequency of the Most Frequent Element, Find All Duplicates in an Array,
Check If N and Its Double Exist, Final Array State After K Multiplication Operations I, Replace Employee ID
With The Unique Identifier, Maximum Width Ramp, Reverse Pairs, Next Greater Element I, Time Based
Key-Value Store, 3Sum, Merge Two Sorted Lists, 4Sum, Reverse Nodes in k-Group, Next Permutation,
Find First and Last Position of Element in a Sorted Array, Combination Sum, Maximum Matrix Sum,
Permutations, Rotate Image, Permutation in String, Spiral Matrix II, Unique Paths, Add Binary, Search a
2D Matrix, Find Customer Referee, Minimum Window Substring, Subsets II, Restore IP Addresses, Path
Sum, K Inverse Pairs Array, Separate Black and White Balls, Flip Columns For Maximum Number of Equal
Rows, Palindrome Partitioning, Gas Station, Parsing A Boolean Expression, Max Area of Island, Reverse
Linked List, Implement Trie (Prefix Tree), Contains Duplicate II, Find if Array Can Be Sorted, Asteroid
Collision, Basic Calculator II, Daily Temperatures, Lowest Common Ancestor of a Binary Tree, H-Index,
Word Pattern II, Coin Change, Increasing Triplet Subsequence, Reverse Vowels of a String, Design Tic-Tac-
Toe, Valid Perfect Square, String Compression III, Insert Delete GetRandom O(1), Decode String, Find All
Anagrams in a String, Shortest Distance After Road Addition Queries I, LFU Cache, Target Sum, Create a
DataFrame from List, IPO, Container With Most Water, Integer to Roman, Letter Combinations of a Phone
Number, Binary Tree Inorder Traversal, Binary Tree Zigzag Level Order Traversal, String Compression II,
Single Number, Copy List with Random Pointer, Word Break, Two Sum II - Input Array Is Sorted, Course
Schedule II, House Robber II, Flood Fill, Product of Array Except Self, Longest Happy String, Add Two
Integers, Koko Eating Bananas, String Compression, Median of Two Sorted Arrays, Longest Common
Prefix, First Missing Positive, Pow(x, n), Jump Game, Validate Binary Search Tree, Binary Tree Level Order
Traversal, Min Stack, Move Zeroes, Longest Increasing Subsequence, Rotting Oranges, Roman to Integer,
Remove Nth Node From End of List, Merge k Sorted Lists, Remove Duplicates from Sorted Array,
Subarray Sum Equals K, Merge Intervals, Sort Colors, Valid Anagram, Minimum Cost to Equalize Array,
Spiral Matrix, Kth Largest Element in an Array, Meeting Rooms II, Integer to English Words, Top K
Frequent Elements, Valid Parentheses, Remove Element, Search in Rotated Sorted Array, Climbing Stairs,
Longest Palindromic Substring, Palindrome Number, Trapping Rain Water, Group Anagrams, Maximum
Subarray, Majority Element, House Robber, Recyclable and Low Fat Products, Best Time to Buy and Sell
Stock, Create Hello World Function, Add Two Numbers, Digit Operations to Make Two Integers Equal,
Longest Substring Without Repeating Characters, Number of Islands, Merge Strings Alternately, LRU
Cache, Merge Sorted Array, Two Sum.
Amazon last 3 months (1/4): Reverse Nodes in k-Group, Insert Interval, Text Justification, Search in
Rotated Sorted Array II, Decode Ways, Unique Binary Search Trees II, Interleaving String, Symmetric Tree,
Construct Binary Tree from Preorder and Inorder Traversal, Populating Next Right Pointers in Each Node
II, Triangle, Best Time to Buy and Sell Stock III, Parallel Courses III, Most Beautiful Item for Each Query,
Palindrome Partitioning, Clone Graph, Sum Root to Leaf Numbers, Find Minimum in Rotated Sorted
Array, Intersection of Two Linked Lists, Two Sum II - Input Array Is Sorted, Binary Search Tree Iterator,
Combine Two Tables, Largest Number, Duplicate Emails, Reverse Linked List, Implement Trie (Prefix Tree),
Rearrange Array Elements by Sign, Shortest Word Distance, Add Digits, Graph Valid Tree, Find Triangular
Sum of an Array, Walls and Gates, Game of Life, Bulls and Cows, Binary Tree Vertical Order Traversal, Sum
of Total Strength of Wizards, Number of Connected Components in an Undirected Graph, Wiggle Sort II,
Apply Discount to Prices, Minimum Obstacle Removal to Reach Corner, Reconstruct Itinerary, Increasing
Triplet Subsequence, House Robber III, Longest Substring with At Most K Distinct Characters, Reverse
Vowels of a String.
*Amazon last 3 months (2/4):**Intersection of Two Arrays, Russian Doll Envelopes, Design Twitter,
Design Hit Counter, Move Pieces to Obtain a String, Insert Delete GetRandom O(1) - Duplicates allowed,
Is Subsequence, Evaluate Division, Maximum Number of Robots Within Budget, Frog Jump, Valid Word
Abbreviation, Add Strings, Partition Equal Subset Sum, Path Sum III, Optimal Partition of String, Find All
Duplicates in an Array, String Compression, Heaters, Max Consecutive Ones, Reverse Pairs, Find Largest
Value in Each Tree Row, Coin Change II, Contiguous Array, Boundary of Binary Tree, Take K of Each
Character From Left and Right, Next Greater Element III, Maximal Score After Applying K Operations,
Managers with at Least 5 Direct Reports, Employee Bonus, Find Customer Referee, Can Place Flowers,
Merge Two Binary Trees, Find Score of an Array After Marking All Elements, Count the Number of Fair
Pairs, Prime Subtraction Operation, Valid Palindrome II, Top K Frequent Words, Subarray Product Less
Than K, Find Pivot Index, My Calendar I, Counter II, Network Delay Time.
Amazon last 3 months (3/4): Minimum String Length After Removing Substrings, Return Length of
Arguments Passed, Jewels and Stones, Custom Sort String, Valid Tic-Tac-Toe State, Guess the Word,
Prime Palindrome, Maximum Sum Circular Subarray, Minimum Falling Path Sum, Shortest Bridge, Binary
Tree Cameras, Maximum Number of K-Divisible Components, Create a DataFrame from List, Squares of a
Sorted Array, Unique Paths III, Design File System, Minimum Cost to Connect Sticks, Last Stone Weight II,
Game Play Analysis IV, Find in Mountain Array, Find if Array Can Be Sorted, Number of Changing Keys,
Longest Happy String, Number of Visible People in a Queue, Monthly Transactions I, Queries Quality and
Percentage, Minimum Array End, Minimum Number of Moves to Make Palindrome, Minimum Remove
to Make Valid Parentheses, Restaurant Growth, Design Underground System, Kids With the Greatest
Number of Candies, Minimum Division Operations to Make Array Non Decreasing, Adjacent Increasing
Subarrays Detection I.
Amazon last 3 months (4/4): Check If a Word Occurs As a Prefix of Any Word in a Sentence, Path
Crossing, Check If Array Pairs Are Divisible by k, Kth Missing Positive Number, Find Kth Bit in Nth Binary
String, Magnetic Force Between Two Balls, The Most Recent Orders for Each Product, Dot Product of Two
Sparse Vectors, The Most Frequently Ordered Products for Each Customer, Furthest Building You Can
Reach, Lowest Common Ancestor of a Binary Tree IV, Invalid Tweets, Minimum Limit of Balls in a Bag,
Maximum Average Pass Ratio, Sudoku Solver, Count and Say, Combination Sum II, Edit Distance, Sort
Colors, Count Good Numbers, Partition List, Reverse Linked List II, Distinct Subsequences, Binary Tree
Postorder Traversal, Maximum Product Subarray, Second Highest Salary, Repeated DNA Sequences, Best
Time to Buy and Sell Stock IV, Design Add and Search Words Data Structure, House Robber II, Contains
Duplicate, The Skyline Problem, Majority Element II, Power of Two, Lowest Common Ancestor of a Binary
Search Tree, Largest Combination With Bitwise AND Greater Than Zero, Count of Range Sum.
Upvote1DownvoteReplyreply
Cisco:
Median of Two Sorted Arrays, Diagonal Traverse II, Merge Two Sorted Lists, Find the Index of the First
Occurrence in a String, Missing Element in Sorted Array, Find Largest Value in Each Tree Row, Best
Sightseeing Pair, Multiply Strings, Group Anagrams, Maximum Subarray, Search in Rotated Sorted Array
II, Big Countries, Largest Rectangle in Histogram, Same Tree, Remove All Adjacent Duplicates In String,
Convert Sorted List to Binary Search Tree, Pascal's Triangle, Exclusive Time of Functions, Take Gifts From
the Richest Pile, Single Number, Find Score of an Array After Marking All Elements, Find Minimum in
Rotated Sorted Array, Car Pooling, Maximum Sum of 3 Non-Overlapping Subarrays, Max Area of Island,
Adding Spaces to a String, Customer Who Visited but Did Not Make Any Transactions, Valid Phone
Numbers, Element Appearing More Than 25% In Sorted Array, Count Complete Tree Nodes, Asteroid
Collision, Basic Calculator, Rank Transform of an Array, Lowest Common Ancestor of a Binary Tree II,
Binary Search, Walls and Gates, Number of Islands II, Maximum Size Subarray Sum Equals k, Odd Even
Linked List, Add Two Integers, Robot Room Cleaner, Equal Row and Column Pairs, Smallest Subtree with
all the Deepest Nodes, Lexicographical Numbers, Is Subsequence, Check If N and Its Double Exist, Target
Sum, Next Greater Element I, Kids With the Greatest Number of Candies, Squares of a Sorted Array,
Zigzag Conversion, Reverse Integer, Roman to Integer, 3Sum, Minimum Time to Collect All Apples in a
Tree, Valid Parentheses, Remove Duplicates from Sorted Array, Remove Element, Boundary of Binary
Tree, Valid Sudoku, Populating Next Right Pointers in Each Node, Best Time to Buy and Sell Stock II,
Maximum Swap, Missing Ranges, Binary Search Tree Iterator, Find Longest Special Substring That Occurs
Thrice I, Course Schedule, Contains Duplicate II, Kth Smallest Element in a BST, Palindrome Linked List,
Product of Array Except Self, Group Shifted Strings, Toeplitz Matrix, Expression Add Operators, Find
Median from Data Stream, Shortest Distance from All Buildings, Goat Latin, Move Pieces to Obtain a
String, Shortest Path in a Hidden Grid, Longest Substring Without Repeating Characters, Continuous
Subarray Sum, Remove Nth Node From End of List, Trapping Rain Water, Rotate Image, Best Time to Buy
and Sell Stock, Maximum Average Subarray I, Palindromic Substrings, Alien Dictionary, Add Strings,
Binary Tree Maximum Path Sum, Word Ladder, Longest Increasing Path in a Matrix, Making A Large
Island, Diagonal Traverse, Add Two Numbers, Longest Palindromic Substring, Convert Binary Search Tree
to Sorted Doubly Linked List, Check Completeness of a Binary Tree, Palindrome Number, Longest
Common Prefix, Minimum Window Substring, Can Place Flowers, Kth Missing Positive Number, Clone
Graph, Majority Element, Insert into a Sorted Circular Linked List, Recyclable and Low Fat Products, Max
Consecutive Ones III, Find First and Last Position of Element in Sorted Array, Word Break, Closest Binary
Search Tree Value, Custom Sort String, All Nodes Distance K in Binary Tree, Random Pick Index, Subsets,
Valid Palindrome III, Accounts Merge, Minimum Add to Make Parentheses Valid, Vertical Order Traversal
of a Binary Tree, Merge Strings Alternately, LRU Cache, Create Hello World Function, Moving Average
from Data Stream, Buildings With an Ocean View, Range Sum of BST, Next Permutation, Valid Number,
Sum Root to Leaf Numbers, Merge Intervals, Merge k Sorted Lists, Copy List with Random Pointer, K
Closest Points to Origin, Binary Tree Right Side View, Two Sum, Valid Palindrome, Top K Frequent
Elements, Interval List Intersections, Diameter of Binary Tree, Dot Product of Two Sparse Vectors,
Simplify Path, Shortest Path in Binary Matrix, Lowest Common Ancestor of a Binary Tree, Subarray Sum
Equals K, Pow(x, n), Random Pick with Weight, Nested List Weight Sum, Find Peak Element, Valid Word
Abbreviation, Basic Calculator II, Lowest Common Ancestor of a Binary Tree III, Merge Sorted Array, Kth
Largest Element in an Array, Binary Tree Vertical Order Traversal, Valid Palindrome II, Minimum Remove
to Make Valid Parentheses.
Upvote3DownvoteReplyreply
4 more replies
Longest Substring Without Repeating Characters, Integer to English Words, Remove Nth Node From End
of List, Generate Parentheses, Reverse Words in a String, Find Minimum in Rotated Sorted Array, Search
in Rotated Sorted Array, Valid Sudoku, Group Anagrams, Design HashMap, Merge Intervals, Product of
the Last K Numbers, Reverse String, Design Tic-Tac-Toe, Interleaving String, Basic Calculator II, Lowest
Common Ancestor of a Binary Tree, Fibonacci Number, Employee Free Time, Merge k Sorted Lists,
Subarray Sum Equals K, Reverse Bits, Top K Frequent Elements, Sliding Window Maximum, Valid
Anagram, Valid Palindrome, Word Ladder, Longest Common Prefix, Course Schedule, Design Circular
Queue, Rotate Array, Valid Parentheses, Number of Islands, Two Sum, LRU Cache.
For google, amazon and meta, pls refer other comments. I've shared in detail
Goodluck!
Adobe:
Last 30 days: https://imgur.com/kiDqUJO
Last 3 months: https://imgur.com/HXDWvpa
last 6 months:
Two Sum, Add Two Numbers, Longest Substring Without Repeating Characters, Median of Two Sorted
Arrays, Reverse Integer, Container With Most Water, Integer to Roman, Roman to Integer, 3Sum,
Generate Parentheses, Reverse Nodes in k-Group, Next Permutation, Climbing Stairs, Majority Element,
Number of Islands, Reverse Linked List, Add Digits, Missing Number, Coin Change, Random Pick with
Weight, Merge Operations to Turn Array Into a Palindrome, Count Subarrays Where Max Element
Appears at Least K Times, Bitwise OR of Adjacent Elements, Reverse Substrings Between Each Pair of
Parentheses, Kth Largest Element in a Stream, Count Ways to Build Rooms in an Ant Colony, Nim Game,
Preimage Size of Factorial Zeroes Function, Number of Subarrays with Bounded Maximum, Smallest
Range I, Smallest Range II, Divide Intervals Into Minimum Number of Groups, Tenth Line, Minimize XOR,
Minimizing Array After Replacing Pairs With Their Product, Choose Numbers From Two Arrays in Range,
Number of Increasing Paths in a Grid, Delete Node in a Linked List, Plates Between Candles, Number of
Provinces, Gas Station, Group Anagrams, Best Time to Buy and Sell Stock, Jump Game, House Robber, To
Be Or Not To Be, Binary Search Tree Iterator, Amount of Time for Binary Tree to Be Infected.