Evaluate an expression tree and generate a parenthesised form |
|
|
|
Falling Squares |
Hard
|
amazon
square
uber
|
|
Fancy Sequence |
Hard
|
|
|
Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
Easy
|
facebook
|
|
Find Bottom Left Tree Value |
Medium
|
bloomberg
microsoft
|
|
Find Eventual Safe States |
Medium
|
google
|
|
Find GCD of n numbers |
Easy
|
amazon
|
|
Find Leaves of Binary Tree |
Medium
|
amazon
atlassian
ebay
google
linkedin
pocket-gems
|
|
Find nodes in binary tree without siblings |
|
|
|
Find Size of Binary Tree |
|
|
|
Find the depth of a node in a binary tree |
|
|
|
Find the height of a node in a binary tree |
|
|
|
Flatten binary tree to linked list in order of inorder traversal |
Medium
|
|
|
Given preorder traversal of a BST, check if each non-leaf node has only one child |
|
|
|
Implement Hierarchical Locking System for Tree Structures |
Medium
|
|
|
Implement queue using linked list |
|
|
|
Implementing a queue using a fixed-size array |
|
|
|
Interval Scheduling Problem |
|
|
|
K closest Points to Origin |
Medium
|
amazon
apple
asana
ebay
expedia
facebook
goldman-sachs
google
linkedin
microsoft
oracle
paypal
uber
visa
yahoo
|
|
Largest Divisible Subset |
Medium
|
adobe
amazon
google
|
|
Left side view of a tree |
Medium
|
|
|
Longest Substring of One Repeating Character |
Hard
|
|
|
Longest Substring with Same Letters after Replacement |
Medium
|
bloomberg
google
pocket-gems
|
|
Maximum Binary Tree |
Medium
|
amazon
facebook
google
microsoft
|
|
Maximum in a Binary Search Tree |
Easy
|
|
|
Maximum in a Binary Tree |
Easy
|
|
|
Min Queue Problem |
Easy
|
|
|
Minimum in a Binary Search Tree |
Easy
|
|
|
Minimum Possible Integer After at Most K Adjacent Swaps On Digits |
Hard
|
|
|
My Calendar 3 |
Hard
|
amazon
google
|
|
Nodes at Distance k from Leaf Nodes in Binary Tree |
|
|
|
Nodes at Distance k from root in Binary Tree |
|
|
|
Non-overlapping Intervals |
Medium
|
amazon
apple
bloomberg
facebook
google
microsoft
stripe
|
|
Number of Connected Components in an Undirected Graph |
Medium
|
amazon
facebook
google
linkedin
microsoft
twitter
|
|
Number of elements smaller than root in preorder traversal of a BST |
Medium
|
|
|
Pacific Atlantic Water Flow |
Medium
|
amazon
apple
bloomberg
facebook
google
microsoft
oracle
|
|
Palindromic Substrings |
Medium
|
adobe
amazon
apple
atlassian
citadel
coursera
facebook
goldman-sachs
google
linkedin
mathworks
microsoft
pure-storage
roblox
twitter
uber
vmware
|
|
Plus One 2 - Given number as Linked List plus one |
Medium
|
amazon
google
|
|
Postorder Node Iterator of Binary Tree |
|
|
|
Print or return all the full nodes in a binary tree |
Easy
|
|
|
Print or return ancestors of a given node in binary tree |
|
|
|
Print or return nodes between two given levels in a binary tree |
|
|
|
Pseudo-Palindromic Paths in a Binary Tree |
Medium
|
amazon
|
|
Range Sum Query - Immutable |
Easy
|
amazon
bloomberg
facebook
goldman-sachs
google
microsoft
palantir-technologies
|
|
Replace each node in BST with subtree sum and its value |
Medium
|
|
|
Return or print all leaf nodes of a binary tree |
Easy
|
|
|
Right side view of a tree |
Medium
|
|
|
Rotting Oranges |
Medium
|
|
|
Search an element in a binary tree |
Easy
|
|
|
Shortest path in Binary Search Tree that adds up to a given value |
Medium
|
|
|