InterviewPulseCompany Question Bank
CompaniesPopular QuestionsInsights

InterviewPulse

Real interview questions organized by company, round, role, and topic — updated daily.

Sources: Prepfully · LeetCode Discuss · Reddit

Global Popular Questions Explorer

Search across companies, interview rounds, algorithms, system design topics, and candidate write-ups.

4,368 matching recordsPage 1 of 219
PY
Python
Candidate ReportCoding
45

How I got crazy good at Tree Problems - Step by Step Basic Tree Probs Practice 🌳

# How I got crazy good at Tree Problems - Step by Step Basic Tree Probs Practice 🌳 Tree DFS used to confuse me because I was trying to memorize solutions and decide whether everything was "top-down" or "bottom-up." What finally helped was practicing really basic problems in order and understanding **what information is going DOWN and w…
#Graphs#Trees & Tries
LeetCode Discuss2026-10-16conf 70%
Source
DT
Dollar Tree
Coding
37
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2025-11-09conf 75%
Source
DT
Dollar Tree
Coding
39
Count nodes in a complete binary tree. Given the root of a complete binary tree, return the number of the nodes in the tree. In a complete binary tree, every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. Input: root = [1,2,3,4,5,6,7] Output: 7 Explanation: The lowes…
Software Engineer#Trees & Tries
Prepfully2026-02-13conf 75%
Source
HO
HomeAway
Coding
48
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-11-15conf 75%
Source
TI
Tumblr Inc.
Coding
48
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-11-11conf 75%
Source
RA
Rakuten
Coding
48
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-11-08conf 75%
Source
ST
Seagate Technology
Coding
47
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-11-04conf 75%
Source
PI
Pipeliner
Coding
47
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-10-29conf 75%
Source
IN
Intuit
Coding
47
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-10-25conf 75%
Source
DI
Digit Insurance
Coding
46
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-10-09conf 75%
Source
CE
Cerner
Coding
46
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-09-28conf 75%
Source
TH
ThoughtWorks
Coding
45
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-09-23conf 75%
Source
BA
Bayer
Coding
45
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-09-17conf 75%
Source
ZE
Zenefits
Coding
44
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-08-20conf 75%
Source
PA
PagerDuty
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-08-05conf 75%
Source
TR
Trackmaven
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-07-31conf 75%
Source
SP
Sprinklr
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-07-30conf 75%
Source
ZS
Zscaler
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-07-28conf 75%
Source
BE
Benefitfocus
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-07-27conf 75%
Source
MF
Micro Focus
Coding
43
Validate if a given tree is a valid binary search tree. Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Software Engineer#Trees & Tries#Binary Search
Prepfully2026-07-21conf 75%
Source

Page 1 of 219

…