Minimize XOR |
Medium
|
|
|
Generate random numbers from list based on given probabilities |
Medium
|
triplebyte
|
|
Find the Prefix Common Array of Two Arrays |
Medium
|
|
|
Minimum Length of String After Operations |
Medium
|
|
|
Check if a Parentheses String Can Be Valid |
Medium
|
|
|
Construct K Palindrome Strings |
Medium
|
uber
|
|
Find Missing 1000 Numbers in Large Range |
Medium
|
two sigma
|
|
Explaining Web Cookies to Non-Technical Person |
Medium
|
airtable
|
|
Explaining API vs SDK to Non-Technical Person |
Medium
|
amazon
|
|
Decrypt XOR-Encoded Hexadecimal String |
Medium
|
apple
|
|
Merge Two Sorted Iterators |
Medium
|
two-sigma
|
|
Alternating Add-Subtract Curried Function |
Medium
|
|
|
Validate Mastermind Game Guesses |
Medium
|
facebook
|
|
Interleave Ranked Song Lists for Playlist |
Medium
|
spotify
|
|
Word Subsets |
Medium
|
amazon
facebook
google
|
|
Nearest larger number for index in an array |
Medium
|
google
|
|
Implement a bit array |
Medium
|
amazon
|
|
Minimum Number of Operations to Move All Balls to Each Box |
Medium
|
|
|
Square root of a real number |
Medium
|
|
|
Shifting Letters II |
Medium
|
|
|
Break a string into lines of length k without breaking words |
Medium
|
amazon
|
|
Maximum coins from top-left to bottom-right with right or down moves |
Medium
|
zillow
|
|
Smallest set to cover all intervals |
Medium
|
google
microsoft
|
|
Number of Ways to Split Array |
Medium
|
|
|
Generate a finite, but an arbitrarily large binary tree in O(1) time |
Medium
|
jane-street
|
|
Count Vowel Strings in Ranges |
Medium
|
|
|
Best Sightseeing Pair |
Medium
|
wayfair
|
|
Find Largest Value in Each Tree Row |
Medium
|
amazon
apple
facebook
linkedin
microsoft
|
|
Shortest substring containing all characters in a set |
Medium
|
square
|
|
Minimum Number of Operations to Sort a Binary Tree by Level |
Medium
|
|
|
Reverse Odd Levels of Binary Tree |
Medium
|
|
|
Construct String With Repeat Limit |
Medium
|
|
|
Maximum Average Pass Ratio |
Medium
|
|
|
Continuous Subarrays |
Medium
|
|
|
Find Score of an Array After Marking All Elements |
Medium
|
|
|
Maximum Beauty of an Array After Applying Operation |
Medium
|
|
|
Find Longest Special Substring That Occurs Thrice 2 |
Medium
|
|
|
Find Longest Special Substring That Occurs Thrice 1 |
Medium
|
|
|
Special Array II |
Medium
|
|
|
Minimum Limit of Balls in a Bag |
Medium
|
|
|
Maximum Number of Integers to Choose From a Range I |
Medium
|
|
|
Move Pieces to Obtain a String |
Medium
|
|
|
Binary Tree Pruning |
Medium
|
amazon
buffer-box
capital-one
google
hulu
twitter
|
|
Brace Expansion |
Medium
|
|
|
Check if postordered array forms a binary search tree |
Medium
|
|
|
Construct Binary Search Tree BST from Preorder Traversal |
Medium
|
amazon
facebook
microsoft
oracle
|
|
Construct reverse sum hierarchy triangle from an array |
Medium
|
|
|
Convert a sorted doubly linked list DLL to balanced binary search tree |
Medium
|
|
|
Convert a sorted doubly linked list DLL to balanced binary search tree in-place |
Medium
|
|
|
Count Good Nodes in Binary Tree |
Medium
|
microsoft
|
|