Interview Questions

Review this list of 3,944 interview questions and answers verified by hiring managers and candidates.
  • System Design
  • "I checked the unittest is giving a False assertion as you can see in the colab notebook below. F FAIL: testsimple (main_.Conv2dTest) Traceback (most recent call last): File "", line 19, in test_simple self.assertTrue(torch.equal(output, torch.tensor([[[[ 5., 1.], [ -2., -10.]]]]))) AssertionError: False is not true"

    Abinash S. - "I checked the unittest is giving a False assertion as you can see in the colab notebook below. F FAIL: testsimple (main_.Conv2dTest) Traceback (most recent call last): File "", line 19, in test_simple self.assertTrue(torch.equal(output, torch.tensor([[[[ 5., 1.], [ -2., -10.]]]]))) AssertionError: False is not true"See full answer

    Machine Learning
  • Stripe logoAsked at Stripe 
    Video answer for 'Design a Distributed LRU Cache'
    +2

    "One good reason for using the doubly linked list is that to remove an accessed item in the list from its existing position say in the middle of the list and move it to the head, you need to update the previous node's next pointer and the next node's previous pointer. A singly linked list only has next pointers, so removing from the middle would require traversing from the head to find the previous node which requires O(n) time. A doubly linked list allows O(1) removal from any position because w"

    Javed S. - "One good reason for using the doubly linked list is that to remove an accessed item in the list from its existing position say in the middle of the list and move it to the head, you need to update the previous node's next pointer and the next node's previous pointer. A singly linked list only has next pointers, so removing from the middle would require traversing from the head to find the previous node which requires O(n) time. A doubly linked list allows O(1) removal from any position because w"See full answer

    Engineering Manager
    System Design
  • Asked at Confluent 
    Software Engineer
    Coding
    +1 more
  • "We are asked to calculate Sum(over value) for time in (t - window_size, t) where key in (key criteria). To develop a function to set this up. Let w be the window size. I would have an observer of some kind note the key-value, and for the first w windows just add the value to a temporary variable in memory if the key meets the key criteria. Then it would delete the oldest value and add the new value if the new key meets the criteria. At each step after "w", we would take the sum / w and store"

    Prashanth A. - "We are asked to calculate Sum(over value) for time in (t - window_size, t) where key in (key criteria). To develop a function to set this up. Let w be the window size. I would have an observer of some kind note the key-value, and for the first w windows just add the value to a temporary variable in memory if the key meets the key criteria. Then it would delete the oldest value and add the new value if the new key meets the criteria. At each step after "w", we would take the sum / w and store"See full answer

    Software Engineer
    Coding
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Software Engineer
    Coding
    +1 more
  • +2

    "Clarifying questions Define ride sharing app: An app for people who wish to go from one place to another and they prefer to share the ride with fellow riders who are heading to the common route. This app provides a way to book a shared cab or Auto. Type of rides: Does not include luxury cars We are trying to enhance customer experience by ensuring less cancellations from user's side rather then cancellation from driver's side. No timelines involved Need to consider competitors"

    Madhuri J. - "Clarifying questions Define ride sharing app: An app for people who wish to go from one place to another and they prefer to share the ride with fellow riders who are heading to the common route. This app provides a way to book a shared cab or Auto. Type of rides: Does not include luxury cars We are trying to enhance customer experience by ensuring less cancellations from user's side rather then cancellation from driver's side. No timelines involved Need to consider competitors"See full answer

    Product Manager
    Product Strategy
  • Stripe logoAsked at Stripe 
    Video answer for 'How would you communicate layoffs to affected individuals?'
    Engineering Manager
    Behavioral
  • Google logoAsked at Google 
    +14

    "Okay, so before we start discussing how to design this platform, I have a few questions I need details on. Clarification Questions: What do you mean by "Podcasting Platform"? Producing a platform and releasing it online takes several steps (Ideation, scripting, equipment selection, recording, editing, choosing a platform to release, etc.). Are we looking at any specific step here? - Free to Assume Am I PM at Google designing a Podcast Platform as a tool inside existing Google Pro"

    Pranay N. - "Okay, so before we start discussing how to design this platform, I have a few questions I need details on. Clarification Questions: What do you mean by "Podcasting Platform"? Producing a platform and releasing it online takes several steps (Ideation, scripting, equipment selection, recording, editing, choosing a platform to release, etc.). Are we looking at any specific step here? - Free to Assume Am I PM at Google designing a Podcast Platform as a tool inside existing Google Pro"See full answer

    Product Manager
    Product Design
    +1 more
  • Lyft logoAsked at Lyft 
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Product Manager
    Product Strategy
  • Reddit logoAsked at Reddit 
    Product Manager
    Behavioral
  • Product Manager
    Behavioral
  • Product Manager
    Product Strategy
    +2 more
  • "We can use a pool of memory where each index we can store the parent of current index then we can use same lca approach for array instead of pointers."

    Sourav K. - "We can use a pool of memory where each index we can store the parent of current index then we can use same lca approach for array instead of pointers."See full answer

    Software Engineer
    Data Structures & Algorithms
  • Discord logoAsked at Discord 
    Video answer for 'What are the most important engineering manager skills?'

    "Engineering Managers (EMs) juggle multiple responsibilities, which can vary significantly depending on the company, team, and organizational needs. One of the most critical skills for an EM is strategic thinking. This includes setting a clear vision for the team, participating in roadmap planning meetings, and crafting actionable roadmaps to guide the team toward its goals. In addition to strategic thinking, an EM must excel in three key areas: People Management: This involves ensuring te"

    Pramod S. - "Engineering Managers (EMs) juggle multiple responsibilities, which can vary significantly depending on the company, team, and organizational needs. One of the most critical skills for an EM is strategic thinking. This includes setting a clear vision for the team, participating in roadmap planning meetings, and crafting actionable roadmaps to guide the team toward its goals. In addition to strategic thinking, an EM must excel in three key areas: People Management: This involves ensuring te"See full answer

    Engineering Manager
    Behavioral
  • "Good Discussion on the distributed messaging queues (Complex topic with lot of nuances) Liked the mind-map style drawing of requirements and metrics capture Touched on different types of queue styles (point to point, pub-sub, fan-out/fan-in) Storage and WAL usage was interesting Some distributed queue challenges that could be helpful to highlight / expand are: Message guarantee / semantics - Ordering of messages across different servers Replication Master slave architecture or Pe"

    Karthik R. - "Good Discussion on the distributed messaging queues (Complex topic with lot of nuances) Liked the mind-map style drawing of requirements and metrics capture Touched on different types of queue styles (point to point, pub-sub, fan-out/fan-in) Storage and WAL usage was interesting Some distributed queue challenges that could be helpful to highlight / expand are: Message guarantee / semantics - Ordering of messages across different servers Replication Master slave architecture or Pe"See full answer

    System Design
  • "Inventory Service and Registration service can they be in SYNC always ?? The "experience layer" needs accessed by Hotel owners also ??? How does real time inventory come from all Hotels ???"

    Anup S. - "Inventory Service and Registration service can they be in SYNC always ?? The "experience layer" needs accessed by Hotel owners also ??? How does real time inventory come from all Hotels ???"See full answer

    System Design
  • OpenAI logoAsked at OpenAI 
    Video answer for 'Design ChatGPT'

    "The addition of an intermediate "sanitization" ML is something Neeraj used in the Uber Eats design and again seems kind of outside the scope here and redundant. This can simply be built into the AI response model to save a step. It's not clear what benefit this step provides, and he basically said we should have it "just because it would be good" and there's no concrete reasoning why to include it. Adding a Kafka queue to handle the thumbs-down ratings? For what purpose do you need a queue othe"

    Robert H. - "The addition of an intermediate "sanitization" ML is something Neeraj used in the Uber Eats design and again seems kind of outside the scope here and redundant. This can simply be built into the AI response model to save a step. It's not clear what benefit this step provides, and he basically said we should have it "just because it would be good" and there's no concrete reasoning why to include it. Adding a Kafka queue to handle the thumbs-down ratings? For what purpose do you need a queue othe"See full answer

    Software Engineer
    System Design
    +1 more
  • Coding
    Machine Learning
Showing 721-740 of 3944