Skip to main content

Interview Questions

Review this list of 4,477 interview questions and answers verified by hiring managers and candidates.
  • Spotify logoAsked at Spotify 

    Balanced Tree

    IDE
    Medium
    11 answers
    +8

    "Python solution: recursion with memoization: class Node: def init(self, value, left=None, right=None): self.value = value self.left = left self.right = right self.height = -1 def height(node): if not node: return 0 if node.height != -1: return node.height node.height = 1 + max(height(node.left), height(node.right)) return node.height def is_balanced(node): if not node: return True return abs(heig"

    Abhishek V. - "Python solution: recursion with memoization: class Node: def init(self, value, left=None, right=None): self.value = value self.left = left self.right = right self.height = -1 def height(node): if not node: return 0 if node.height != -1: return node.height node.height = 1 + max(height(node.left), height(node.right)) return node.height def is_balanced(node): if not node: return True return abs(heig"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Disney logoAsked at Disney 
    3 answers

    "This is another Diagnosis problem. To answer this question, we suggest you use our framework (along with the TROPIC method) to be as thorough as possible. The framework is as follows: Ask clarifying questions List potential high level reasons Gather Context (TROPIC)Time Region Other features / products (internal) Platform Industry / Competition Cannibalization Establish a theory of probable cause Test theories Propose solutions Summarize "

    Exponent - "This is another Diagnosis problem. To answer this question, we suggest you use our framework (along with the TROPIC method) to be as thorough as possible. The framework is as follows: Ask clarifying questions List potential high level reasons Gather Context (TROPIC)Time Region Other features / products (internal) Platform Industry / Competition Cannibalization Establish a theory of probable cause Test theories Propose solutions Summarize "See full answer

    Analytical
    Execution
  • Amazon logoAsked at Amazon 
    2 answers

    "Whenever I find resistance to my idea, my general approach is to : Validate my idea Identify if it is a political reason or is it a valid engineering tech reason Assuming it is not political but it is resource/difference of opinions that are causing resistance. Then I would try to do a quick POC and show a value proposition for the idea to get the buy-in. One similar situation happened The situation was that stakeholders were promised a feature that would decrease their number of ticket"

    Jaim - "Whenever I find resistance to my idea, my general approach is to : Validate my idea Identify if it is a political reason or is it a valid engineering tech reason Assuming it is not political but it is resource/difference of opinions that are causing resistance. Then I would try to do a quick POC and show a value proposition for the idea to get the buy-in. One similar situation happened The situation was that stakeholders were promised a feature that would decrease their number of ticket"See full answer

    Software Engineer
    Behavioral
    +1 more
  • Meta logoAsked at Meta 
    2 answers

    "when we are discussing about some issues, subjects or problem . we should consider all of the possibility cases which envolved inside the scenario.all of persons has own atitudes . challenging has a this benefite to see the problems and solves on other ways."

    Nick L. - "when we are discussing about some issues, subjects or problem . we should consider all of the possibility cases which envolved inside the scenario.all of persons has own atitudes . challenging has a this benefite to see the problems and solves on other ways."See full answer

    Technical Program Manager
    Program Sense
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Uber logoAsked at Uber 
    Add answer
    Product Manager
    Analytical
    +2 more
  • Google logoAsked at Google 
    1 answer
    Video answer for 'Design a cyber attack.'

    "Phishing Attack Scenario (High-Level) Attack Type: Phishing Goal: Steal user credentials Attack Vector: Fake email pretending to be a bank Target: End users Impact: Account takeover, financial loss Detection: Email filtering, user reports Prevention: User awareness training Multi-factor authentication Email security gateways"

    Dileep D. - "Phishing Attack Scenario (High-Level) Attack Type: Phishing Goal: Steal user credentials Attack Vector: Fake email pretending to be a bank Target: End users Impact: Account takeover, financial loss Detection: Email filtering, user reports Prevention: User awareness training Multi-factor authentication Email security gateways"See full answer

    Security
    Technical
  • 5 answers
    Video answer for 'Redesign the city park experience.'
    +2

    "We would like the interviewer to call out bad interviews too. I understand that these guest interviewees are spending their time for Exponent and are probably compensated. Exponent's customers are paying members and they need to know that bad answers are called out as bad answers and why. Telling everyone they are awesome at the end of the PM interview doesn't send the right message to paying subscribers who are spending valuable time training for interviews."

    Aditya G. - "We would like the interviewer to call out bad interviews too. I understand that these guest interviewees are spending their time for Exponent and are probably compensated. Exponent's customers are paying members and they need to know that bad answers are called out as bad answers and why. Telling everyone they are awesome at the end of the PM interview doesn't send the right message to paying subscribers who are spending valuable time training for interviews."See full answer

    Product Design
  • Product Manager
    Product Design
  • Amazon logoAsked at Amazon 
    2 answers

    "Law is my passion. Traveling all over the world in 5 years"

    Moshe S. - "Law is my passion. Traveling all over the world in 5 years"See full answer

    Product Manager
    Behavioral
    +4 more
  • Tesla logoAsked at Tesla 
    Add answer
    Video answer for 'Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in clockwise spiral order.'
    Machine Learning Engineer
    Data Structures & Algorithms
    +3 more
  • Cursor logoAsked at Cursor 
    Add answer
    Software Engineer
    Coding
  • Nvidia logoAsked at Nvidia 
    Add answer
    Product Manager
    Artificial Intelligence
    +1 more
  • OpenAI logoAsked at OpenAI 
    Add answer
    Software Engineer
    Behavioral
  • Meta logoAsked at Meta 
    2 answers

    "Clarify: Across all platforms? - Yes Specific geographies? - No Any specific users? Like >60 years - No Benefits of profile picture: User can find their friends by identifying them through profile picture. Helps in understanding if the profile is genuine. Also establishes trust in the platform. Users checking profiles is also a way for users to engage on the platform. Possible decisions: Remove profile upload feature Make it optional No change Approach to make decis"

    Nishant V. - "Clarify: Across all platforms? - Yes Specific geographies? - No Any specific users? Like >60 years - No Benefits of profile picture: User can find their friends by identifying them through profile picture. Helps in understanding if the profile is genuine. Also establishes trust in the platform. Users checking profiles is also a way for users to engage on the platform. Possible decisions: Remove profile upload feature Make it optional No change Approach to make decis"See full answer

    Product Manager
    Analytical
    +2 more
  • Pinterest logoAsked at Pinterest 
    1 answer

    "This is a pretty straightforward Improve a Product question. Let's first go over the Improve a Product formula: Ask clarifying questions Identify users, behaviors, and pain points State product goal Brainstorm small improvements Brainstorm bolder improvements Measure success Summarize Now, let's begin! Ask clarifying questions Before we begin listing off recommendations, it's important you ask questions to ensure you and the interviewe"

    Exponent - "This is a pretty straightforward Improve a Product question. Let's first go over the Improve a Product formula: Ask clarifying questions Identify users, behaviors, and pain points State product goal Brainstorm small improvements Brainstorm bolder improvements Measure success Summarize Now, let's begin! Ask clarifying questions Before we begin listing off recommendations, it's important you ask questions to ensure you and the interviewe"See full answer

    Product Manager
  • DoorDash logoAsked at DoorDash 
    Add answer
    Product Manager
    Product Strategy
  • Twitter logoAsked at Twitter 
    Add answer
    Product Design
    Program Sense
  • Uber logoAsked at Uber 
    1 answer

    "Why? Uber is on demand platform, that leverages shared economy to power movement from Point A to B. Ubers business today is around 3 primary segments - Mobility, Deliveries, Freight. Mobility is the core product that enables riders to move from point A to Point B Using variety vehicles. Segment Users based on Usage / Frequency Daily - Prefers frequent but short trips, values convenience Occasional - Business professionals, even"

    Anjali M. - "Why? Uber is on demand platform, that leverages shared economy to power movement from Point A to B. Ubers business today is around 3 primary segments - Mobility, Deliveries, Freight. Mobility is the core product that enables riders to move from point A to Point B Using variety vehicles. Segment Users based on Usage / Frequency Daily - Prefers frequent but short trips, values convenience Occasional - Business professionals, even"See full answer

    Product Manager
    Product Strategy
  • Airbnb logoAsked at Airbnb 
    4 answers
    Video answer for 'Find the minimum window substring.'

    "What about exploiting the hash set and that is it? def smallestSubstring(s: str, t: str) -> str: if len(t) > len(s): return "" r = len(s) - 1 not_found = True while r > 0 and not_found: subs_set = set(s[0:r + 1]) for c in t: if not c in subs_set: not_found = False if not_found: r -= 1 else: r += 1 l = 0 not_found = True while l < r and not_"

    Gabriele G. - "What about exploiting the hash set and that is it? def smallestSubstring(s: str, t: str) -> str: if len(t) > len(s): return "" r = len(s) - 1 not_found = True while r > 0 and not_found: subs_set = set(s[0:r + 1]) for c in t: if not c in subs_set: not_found = False if not_found: r -= 1 else: r += 1 l = 0 not_found = True while l < r and not_"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
Showing 1961-1980 of 4477