Interview Questions

Review this list of 4,138 interview questions and answers verified by hiring managers and candidates.
  • "class Solution: def missingNumber(self, nums: list[int]) -> int: Sorting approach n = len(nums) s = n*(n+1)//2 r = s - sum(nums) return self.r l = [3,0,1] print(missingNumber(l))"

    Rohit B. - "class Solution: def missingNumber(self, nums: list[int]) -> int: Sorting approach n = len(nums) s = n*(n+1)//2 r = s - sum(nums) return self.r l = [3,0,1] print(missingNumber(l))"See full answer

    Software Engineer
    Coding
    +1 more
  • Google logoAsked at Google 

    "Clarify question and state assumptions: Streetview from my understanding is compiled by a streetview car going out and taking multiple photos and then Google stitches this together to give us streetview. I'm only going to look at the streetview outdoor experience, I know for e.g Google also has full views of some businesses, malls, museums etc so for the purposes of this I'm not going to calculate this. For the purposes of this is it OK if we say how much storage required to store streetview"

    Varun - "Clarify question and state assumptions: Streetview from my understanding is compiled by a streetview car going out and taking multiple photos and then Google stitches this together to give us streetview. I'm only going to look at the streetview outdoor experience, I know for e.g Google also has full views of some businesses, malls, museums etc so for the purposes of this I'm not going to calculate this. For the purposes of this is it OK if we say how much storage required to store streetview"See full answer

    Product Manager
    Estimation
  • BizOps & Strategy
    Analytical
  • Uber logoAsked at Uber 

    "Not my answer, but rather the details of this question. It should include the following functions: int insertNewCustomer(double revenue) -> returns a customer ID (assume auto-incremented & 0-based) int insertNewCustomer(double revenue, int referrerID) -> returns a customer ID (assume auto-incremented & 0-based) Set getLowestKCustomersByMinTotalRevenue(int k, double minTotalRevenue) -> returns customer IDs Note: The total revenue consists of the revenue that this customer bring"

    Anzhe M. - "Not my answer, but rather the details of this question. It should include the following functions: int insertNewCustomer(double revenue) -> returns a customer ID (assume auto-incremented & 0-based) int insertNewCustomer(double revenue, int referrerID) -> returns a customer ID (assume auto-incremented & 0-based) Set getLowestKCustomersByMinTotalRevenue(int k, double minTotalRevenue) -> returns customer IDs Note: The total revenue consists of the revenue that this customer bring"See full answer

    Data Engineer
    Coding
  • "Reflect leadership quality in software engineering team"

    Graig - "Reflect leadership quality in software engineering team"See full answer

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

  • Apple logoAsked at Apple 

    "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"

    Alex M. - "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "· Sometimes I have to step back and think through and respond later, not giving decision then and there · Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"

    BePostive - "· Sometimes I have to step back and think through and respond later, not giving decision then and there · Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"See full answer

    Engineering Manager
    Behavioral
    +1 more
  • +2

    "Clarifying Questions: Is it a chain of supermarkets? Or just an individual market? Is the revenue overall or just from one store? What are the reasons for the revenue growth? Pandemic? New buildings around? Other? What does the supermarket sell? Anything specialized? Local goods? Is there an app/website available to order stuff? 10,000 - 50,000 Vision: Be the most customer centric store Goals: Able to reach out to as many users as they can. Increase the user base while keeping th"

    Anonymous Reindeer - "Clarifying Questions: Is it a chain of supermarkets? Or just an individual market? Is the revenue overall or just from one store? What are the reasons for the revenue growth? Pandemic? New buildings around? Other? What does the supermarket sell? Anything specialized? Local goods? Is there an app/website available to order stuff? 10,000 - 50,000 Vision: Be the most customer centric store Goals: Able to reach out to as many users as they can. Increase the user base while keeping th"See full answer

    Product Manager
    Product Strategy
    +1 more
  • Amazon logoAsked at Amazon 

    "I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"

    Anonymous Narwhal - "I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"See full answer

    Software Engineer
    Behavioral
    +1 more
  • +3

    "Goal of Google: Clarify: What exactly is Google podcast? A place for people who create podcasts to host their podcast? Great with that in mind.... Google's mission is to organize the world's information and make it universally accessible and useful Goal: From a podcast perspective, you can imagine that Google’s wants to organize the world's information and make it universally accessible and useful through a podcast. Actions: Two-sided user base: People who listen"

    A K. - "Goal of Google: Clarify: What exactly is Google podcast? A place for people who create podcasts to host their podcast? Great with that in mind.... Google's mission is to organize the world's information and make it universally accessible and useful Goal: From a podcast perspective, you can imagine that Google’s wants to organize the world's information and make it universally accessible and useful through a podcast. Actions: Two-sided user base: People who listen"See full answer

    Analytical
  • "It could make Gmail less accessible to people who cannot afford to pay for it. It could lead to users switching to other email providers. It could damage Google's reputation as a company that provides free services."

    Praful B. - "It could make Gmail less accessible to people who cannot afford to pay for it. It could lead to users switching to other email providers. It could damage Google's reputation as a company that provides free services."See full answer

    Product Manager
  • +1

    "Clarifying questions: Who is launching this service (some options that come to mind are): Google ? If yes, why? Will it be a new product within the Google ecosystem or feature within existing and relevant Google Products (google maps, search) Startup? What is the current status of the startup/service designing it for hotels Uber/Taxi service providers - Trying to diversify their revenue stream/ add new level of engagement? Hospitality companies/hotels? B"

    Deepti D. - "Clarifying questions: Who is launching this service (some options that come to mind are): Google ? If yes, why? Will it be a new product within the Google ecosystem or feature within existing and relevant Google Products (google maps, search) Startup? What is the current status of the startup/service designing it for hotels Uber/Taxi service providers - Trying to diversify their revenue stream/ add new level of engagement? Hospitality companies/hotels? B"See full answer

    Product Design
  • Booking.com logoAsked at Booking.com 

    "Optimizing Booking.com to improve conversion rates involves a strategic and holistic approach that considers various aspects of the user experience, website functionality, and marketing. Here are several strategies that could be employed: \\User-Centric Design:\\ \\Mobile Optimization:\\ Ensure the website is fully optimized for mobile devices, given the increasing number of users booking on smartphones. \\Intuitive Navigation:\\ Streamline the booking process with a cl"

    Rishi P. - "Optimizing Booking.com to improve conversion rates involves a strategic and holistic approach that considers various aspects of the user experience, website functionality, and marketing. Here are several strategies that could be employed: \\User-Centric Design:\\ \\Mobile Optimization:\\ Ensure the website is fully optimized for mobile devices, given the increasing number of users booking on smartphones. \\Intuitive Navigation:\\ Streamline the booking process with a cl"See full answer

    Product Manager
    Product Design
    +2 more
  • "If other org is not taking PM seriously, then following may be potential reasons: They don't like the way PM communicates with them They do not understand project goals They do not understand requirements clearly They are occupied with other high priority project I think Project Manager did not prepare himself well before reaching out to org for resources. He can use the following approach to get resources from a different org: Good documentation: PM should capture the project"

    Saket S. - "If other org is not taking PM seriously, then following may be potential reasons: They don't like the way PM communicates with them They do not understand project goals They do not understand requirements clearly They are occupied with other high priority project I think Project Manager did not prepare himself well before reaching out to org for resources. He can use the following approach to get resources from a different org: Good documentation: PM should capture the project"See full answer

    Program Sense
    Behavioral
  • Google logoAsked at Google 

    "Clarification questions What is the purpose of connecting the DB? Do we expect high-volumes of traffic to hit the DB Do we have scalability or reliability concerns? Format Code -> DB Code -> Cache -> DB API -> Cache -> DB - APIs are built for a purpose and have a specified protocol (GET, POST, DELETE) to speak to the DB. APIs can also use a contract to retrieve information from a DB much faster than code. Load balanced APIs -> Cache -> DB **Aut"

    Aaron W. - "Clarification questions What is the purpose of connecting the DB? Do we expect high-volumes of traffic to hit the DB Do we have scalability or reliability concerns? Format Code -> DB Code -> Cache -> DB API -> Cache -> DB - APIs are built for a purpose and have a specified protocol (GET, POST, DELETE) to speak to the DB. APIs can also use a contract to retrieve information from a DB much faster than code. Load balanced APIs -> Cache -> DB **Aut"See full answer

    Product Manager
    Concept
    +5 more
  • Amazon logoAsked at Amazon 
    Technical Program Manager
    Product Design
  • Amazon logoAsked at Amazon 

    "THIS QUESTION IS FROM AMAZON STRUCTURE OF THE ANSWER ARTICULATE YOUR IDEA WHY IS IT WORTH ADVOCATING ACHIEVING THE IDEA THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA. AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"

    Lea M. - "THIS QUESTION IS FROM AMAZON STRUCTURE OF THE ANSWER ARTICULATE YOUR IDEA WHY IS IT WORTH ADVOCATING ACHIEVING THE IDEA THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA. AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"See full answer

    Product Designer
    Behavioral
    +1 more
  • Microsoft logoAsked at Microsoft 

    "Clarifying questions: Are we taking about a personal parking lot or a public parking lot Do we have an objective in head for this lot -> Make money? Public parking lot from govt body Do we have a particular location in head for this -> basement, outside some building or on the roof Are we particular about the number of vehicles it can take up? Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers) Taking a few assumptions:"

    Anubhav A. - "Clarifying questions: Are we taking about a personal parking lot or a public parking lot Do we have an objective in head for this lot -> Make money? Public parking lot from govt body Do we have a particular location in head for this -> basement, outside some building or on the roof Are we particular about the number of vehicles it can take up? Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers) Taking a few assumptions:"See full answer

    Product Manager
    Product Design
    +1 more
  • Nvidia logoAsked at Nvidia 

    "Clarifying When we say cloud gaming, we refer to a video gaming experience using cloud computing, right? Assumption: Yes. Understanding of cloud computing first. I'll use some analogies: Imagine you are looking to do heavy computing but don't have a powerful CPU and GPU. CPU and GPU are like your big calculators. You can buy a powerful CPU and GPU, but problems: It costs a lot to buy. It costs a lot to run. You don't need it 24-7. You are not a un"

    Darpan D. - "Clarifying When we say cloud gaming, we refer to a video gaming experience using cloud computing, right? Assumption: Yes. Understanding of cloud computing first. I'll use some analogies: Imagine you are looking to do heavy computing but don't have a powerful CPU and GPU. CPU and GPU are like your big calculators. You can buy a powerful CPU and GPU, but problems: It costs a lot to buy. It costs a lot to run. You don't need it 24-7. You are not a un"See full answer

    Product Manager
    Concept
    +3 more
  • +7

    "My solution is simple; it does an in-order DFS traversal to create an array of in-order elements then it searches through the array to find the node we want the successor of. finally we return the node that is 1 after the input node, in the case our input node is the last element of our DFS we know there is no successor, therefore it returns None/null. CODE INSTRUCTIONS: 1) The method fi"

    Rohan M. - "My solution is simple; it does an in-order DFS traversal to create an array of in-order elements then it searches through the array to find the node we want the successor of. finally we return the node that is 1 after the input node, in the case our input node is the last element of our DFS we know there is no successor, therefore it returns None/null. CODE INSTRUCTIONS: 1) The method fi"See full answer

    Data Structures & Algorithms
    Coding
Showing 1941-1960 of 4138