Question bank

4,310 interview questions, answered.

Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.

Easy 190Medium 2,498Hard 982
FiltersDifficulty, topic, company

4,310 questions

  1. 2233Why multi-head attention instead of one big head?MediumAI ML
  2. 2234Why rerank after retrieval?HardAI ML
  3. 2235Word embeddings, from classic to modern retrievalMediumAI ML
  4. 2236How do you measure whether an LLM or RAG project you worked on is efficient?MediumDataAI ML· Nvidia
  5. 2237How did you scale a local strategy to a global one, and what changed in your approach?HardProduct· Google
  6. 2238How would you plan to localize a mobile app and decide which country to expand into and what changes to implement?HardBehavioralProduct· Google
  7. 2239Given an array of integers and a number N, find the length of the longest contiguous subarray such that the difference between any two elements in the subarray is less than N.MediumCoding· Uber
  8. 2240Find the longest palindromic subsequence using dynamic programming.MediumCoding· Adobe, Apple
  9. 2241Find the longest substring without repeating characters.MediumCoding· Apple, Intuit
  10. 2242Find the lowest common ancestor (LCA) of two nodes in a binary tree.MediumCoding· Apple, LinkedIn
  11. 2243Implement LRU Cache.HardCoding· Accenture, Adobe
  12. 2244How would you allow Lyft drivers to select from scheduled rides?MediumDataProduct· Lyft
  13. 2245As the PM for Lyft, what dashboard would you build to track the health of the app?HardData· Google, Lyft
  14. 2246You are the PM at Lyft and there's a sudden increase in user cancellations. How would you analyze this issue and what steps would you take to address it?MediumDataProduct· Lyft, Stripe
  15. 2247You're a PM at Lyft and want to deploy a ride-sharing service using a self-driving car in Palo Alto. How would you choose around 10 pickup and drop-off locations, assuming routes are safe and pre-programmed?MediumDataProduct· Lyft
  16. 2248What might be two macroeconomic trends impacting Uber Eats supply or demand in the near future?MediumProduct· Uber
  17. 2249How would you handle an engineer who creates conflict with team members but is still performing well?MediumBehavioral· Google
  18. 2250Tell me about a time when you had to deal with conflicting priorities with your stakeholders and how you secured alignment with them.MediumBehavioralProduct· Amazon, Google
  19. 2251How would you manage cross-team dependencies and deliverables?MediumBehavioralProduct· Mastercard
  20. 2252How would you handle scheduling dependencies between two nightly Jobs to ensure the second Job does not fail if the first Job runs longer than expected?MediumDataSystem design· Databricks
  21. 2253How do you manage high performers?MediumBehavioral· Amazon, Meta
  22. 2254Tell me about a time when you had to manage and meet multiple demands within tight deadlines.MediumBehavioral· Hubspot
  23. 2255Tell me about a time you had to manage an underperformer and how it impacted the team.MediumBehavioral· Google, Meta
  24. 2256You join a project that is only 25% complete but has used 75% of its resources. What are your next steps?HardProduct· Google