Smallest sparse number greater than or equal to N |
Hard
|
oracle
|
|
Find the Number of Distinct Colors Among the Balls |
Medium
|
|
|
Length of the Longest Consecutive 1s in Binary Representation |
Easy
|
stripe
|
|
Find All Occurrences of the Pattern in the String |
Medium
|
microsoft
|
|
Collatz Sequence |
Easy
|
apple
|
|
Tuple with Same Product |
Medium
|
|
|
Clear Digits |
Easy
|
|
|
Maximum Ascending Subarray Sum |
Easy
|
|
|
Permutation of Array using given order |
Easy
|
twitter
|
|
Next Permutation of Integer |
Easy
|
ibm
|
|
Longest Strictly Increasing or Strictly Decreasing Subarray |
Easy
|
|
|
Check if Array Is Sorted and Rotated |
Easy
|
|
|
Making A Large Island |
Hard
|
amazon
facebook
google
uber
|
|
Divide Nodes Into the Maximum Number of Groups |
Hard
|
|
|
Maximum Number of Fish in a Grid |
Medium
|
|
|
Maximum Employees to Be Invited to a Meeting |
Hard
|
|
|
Balance Parentheses with Minimum Insertions and Deletions |
Hard
|
facebook
|
|
Make Lexicographically Smallest Array by Swapping Elements |
Medium
|
|
|
Count elements in range in sorted matrix |
Hard
|
google
|
|
Longest subarray with distinct elements |
Easy
|
google
|
|
Fix the variable capture in closure |
Medium
|
google
|
|
Check if any pair of rectangles overlap |
Easy
|
google
|
|
Divide array into two subsets with minimum difference |
Hard
|
microsoft
|
|
Area of intersection of two rectangles |
Easy
|
google
|
|
Count Servers that Communicate |
Medium
|
amazon
google
|
|
Check if a graph is minimally-connected |
Medium
|
facebook
|
|
Split string into fewest palindromic substrings |
Hard
|
google
|
|
Alice Joins Probability Student Club by Calculating Expected Values of Probabilistic Games |
Hard
|
two-sigma
|
|
Describe and give an example of Ad-hoc, Parametric and Subtype polymorphism |
Medium
|
microsoft
|
|
Run a Markov chain and count state visits |
Easy
|
google
|
|
Map of Highest Peak |
Medium
|
|
|
Construct Binary Search Tree BST from Postorder Traversal |
Medium
|
google
|
|
Flatten a nested dictionary |
Easy
|
stripe
|
|
Busiest period in a building |
Easy
|
amazon
|
|
Grid Game |
Medium
|
|
|
Sort a linked list in O(n log n) time and constant space |
Medium
|
google
|
|
Implement a 2D iterator class |
Medium
|
uber
|
|
Length of the longest path in a weighted tree |
Hard
|
uber
|
|
First Completely Painted Row or Column |
Medium
|
|
|
Minimum Cost to Make at Least One Valid Path in a Grid |
Hard
|
google
|
|
Neighboring Bitwise XOR |
Medium
|
|
|
Bitwise XOR of All Pairings |
Medium
|
|
|
Minimize XOR |
Medium
|
|
|
Generate random numbers from list based on given probabilities |
Medium
|
triplebyte
|
|
Sort a list using reverse sublist operation |
Hard
|
|
|
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
|
|
Word Subsets |
Medium
|
amazon
facebook
google
|
|