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
Filters · onDifficulty, topic, company

2,498 questions

  1. 889What is instruction tuning and why does it matter?MediumAI ML
  2. 890What is KV cache and how does it speed up inference?MediumAI ML
  3. 891Why do transformers need positional embeddings at all?MediumAI ML
  4. 892Why multi-head attention instead of one big head?MediumAI ML
  5. 893Word embeddings, from classic to modern retrievalMediumAI ML
  6. 894How do you measure whether an LLM or RAG project you worked on is efficient?MediumDataAI ML· Nvidia
  7. 895Given 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. 896Find the longest palindromic subsequence using dynamic programming.MediumCoding· Adobe, Apple
  9. 897Find the longest substring without repeating characters.MediumCoding· Apple, Intuit
  10. 898Find the lowest common ancestor (LCA) of two nodes in a binary tree.MediumCoding· Apple, LinkedIn
  11. 899How would you allow Lyft drivers to select from scheduled rides?MediumDataProduct· Lyft
  12. 900You 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
  13. 901You'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
  14. 902What might be two macroeconomic trends impacting Uber Eats supply or demand in the near future?MediumProduct· Uber
  15. 903How would you handle an engineer who creates conflict with team members but is still performing well?MediumBehavioral· Google
  16. 904Tell 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
  17. 905How would you manage cross-team dependencies and deliverables?MediumBehavioralProduct· Mastercard
  18. 906How 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
  19. 907How do you manage high performers?MediumBehavioral· Amazon, Meta
  20. 908Tell me about a time when you had to manage and meet multiple demands within tight deadlines.MediumBehavioral· Hubspot
  21. 909Tell me about a time you had to manage an underperformer and how it impacted the team.MediumBehavioral· Google, Meta
  22. 910How would you manage a latent field failure or bug that impacts customers and increases return rates or support contacts?MediumDataBehavioral· Google
  23. 911What is your approach to managing poor performers on your team?MediumBehavioral· Google, Stripe
  24. 912How do you manage your team's performance?MediumBehavioral· eBay, Meta