Interview Questions

Review this list of 4,050 interview questions and answers verified by hiring managers and candidates.
  • +3

    "The question refers to a very specific event: "step into the back for a few minutes, return and see a lot of people waiting"... I might try to clarify goals and scenario: Before I stepped back, there were no ppl waiting? If so, we might be talking about a very specific, even uncommon scenario, in which optimizations for the complete serving system in the long term might not be needed. Maybe they even arrived all together and this is expected behavior. Are people waiting for something specif"

    Alfredo M. - "The question refers to a very specific event: "step into the back for a few minutes, return and see a lot of people waiting"... I might try to clarify goals and scenario: Before I stepped back, there were no ppl waiting? If so, we might be talking about a very specific, even uncommon scenario, in which optimizations for the complete serving system in the long term might not be needed. Maybe they even arrived all together and this is expected behavior. Are people waiting for something specif"See full answer

    Execution
    Analytical
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Product Manager
    Product Design
  • +19

    "def find_first(array: List[int], num: int) -> int: lo = 0 hi = len(array)-1 while lo = num: hi = mid - 1 if lo == mid and array[mid] == num: return mid else: array[mid] < num lo = mid + 1 return -1 `"

    Gabriele G. - "def find_first(array: List[int], num: int) -> int: lo = 0 hi = len(array)-1 while lo = num: hi = mid - 1 if lo == mid and array[mid] == num: return mid else: array[mid] < num lo = mid + 1 return -1 `"See full answer

    Data Structures & Algorithms
    Coding
  • OpenAI logoAsked at OpenAI 
    Product Manager
    Behavioral
    +5 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?'
    +11

    "from typing import List def maxprofitgreedy(stock_prices: List[int]) -> int: l=0 # buying r=1 # selling max_profit=0 while rstock_prices[l]: profit=stockprices[r]-stockprices[l] maxprofit=max(maxprofit,profit) else: l=r r+=1 return max_profit debug your code below print(maxprofitgreedy([7, 1, 5, 3, 6, 4])) `"

    Prajwal M. - "from typing import List def maxprofitgreedy(stock_prices: List[int]) -> int: l=0 # buying r=1 # selling max_profit=0 while rstock_prices[l]: profit=stockprices[r]-stockprices[l] maxprofit=max(maxprofit,profit) else: l=r r+=1 return max_profit debug your code below print(maxprofitgreedy([7, 1, 5, 3, 6, 4])) `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Mission: to help users buy and sell products from groups. If we think about the value here, users want to join groups that sell/buy products of interest (young moms or vinyl), or location of interest, or trust, or some other factor - either from other users or SMBs. User Actions: create groups, join groups, active in groups - make posts to sell or show interest in buying (like, commenting, sharing or ideally transacting) deeper engagement - sharing , saving , searching more based on wh"

    Sri A. - "Mission: to help users buy and sell products from groups. If we think about the value here, users want to join groups that sell/buy products of interest (young moms or vinyl), or location of interest, or trust, or some other factor - either from other users or SMBs. User Actions: create groups, join groups, active in groups - make posts to sell or show interest in buying (like, commenting, sharing or ideally transacting) deeper engagement - sharing , saving , searching more based on wh"See full answer

    Execution
    System Design
    +1 more
  • +5

    "Clarifying Questions: By “down”, do we mean creation of messages (activation), engagement, or both? My assumed answer: engagement How are “messages” defined? Is it comments to posts, DMs, or posts themselves? My assumed answer: DMs How is engagement of DMs defined? Is it by number of DMs viewed, created, replied to? My assumed answer: all of that Quick Product Strategy Discussion: Why messaging is important to LinkedIn LinkedIn’s mission is"

    Arthur Y. - "Clarifying Questions: By “down”, do we mean creation of messages (activation), engagement, or both? My assumed answer: engagement How are “messages” defined? Is it comments to posts, DMs, or posts themselves? My assumed answer: DMs How is engagement of DMs defined? Is it by number of DMs viewed, created, replied to? My assumed answer: all of that Quick Product Strategy Discussion: Why messaging is important to LinkedIn LinkedIn’s mission is"See full answer

    Execution
    Analytical
  • Software Engineer
    Data Structures & Algorithms
    +4 more
  • "P(A) = 0.6 P(B) = 0.4 P(D|A) = 0.05 P(D|B) = 0.03 Question asks to solve for P(A|D) P(A|D) = (P(D|A) x P(A))/P(D) = (0.05 x 0.6)/(P(D|A) x P(A) + P(D|B) x P(B)) = (0.05 x 0.6)/(0.05 x 0.6+0.03 x 0.4) = 30/42 = 5/7 = 0.714 Notice above that P(D) = P(D|A) x P(A) + P(D|B) x P (B)"

    Saurabh K. - "P(A) = 0.6 P(B) = 0.4 P(D|A) = 0.05 P(D|B) = 0.03 Question asks to solve for P(A|D) P(A|D) = (P(D|A) x P(A))/P(D) = (0.05 x 0.6)/(P(D|A) x P(A) + P(D|B) x P(B)) = (0.05 x 0.6)/(0.05 x 0.6+0.03 x 0.4) = 30/42 = 5/7 = 0.714 Notice above that P(D) = P(D|A) x P(A) + P(D|B) x P (B)"See full answer

    Statistics & Experimentation
  • Amazon logoAsked at Amazon 

    "Pizza Ordering System orderdetail - orderdetailid (PK), orderid (FK), itemid (FK), itemqty, itemized_price order - orderid (PK), customerid (FK), orderdate, locationid (FK), ordertype (DINEIN, PICKUP, DELIVERY), refid (dineinid, pickupid, deliveryid), subtotal, tax, tip, totalamount, payment_method (CASH, CARD) location - locationid (PK), locationdesc, city, state, startdate, enddate customer - customer_id (PK), name, address (nullable), phone (nullable), dob (d"

    Rishabh L. - "Pizza Ordering System orderdetail - orderdetailid (PK), orderid (FK), itemid (FK), itemqty, itemized_price order - orderid (PK), customerid (FK), orderdate, locationid (FK), ordertype (DINEIN, PICKUP, DELIVERY), refid (dineinid, pickupid, deliveryid), subtotal, tax, tip, totalamount, payment_method (CASH, CARD) location - locationid (PK), locationdesc, city, state, startdate, enddate customer - customer_id (PK), name, address (nullable), phone (nullable), dob (d"See full answer

    Solutions Architect
    Technical
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    +2

    "To make sure we are on the same page, this is a feature in the current FB app that would make it easier for people to volunteer? Or more broadly, the feature would aim to expand the base of volunteers. To start I want to dive deeper on the objective of the feature. Then we can look at possible users, pick a segment and outline their needs, then look at some solutions. We can then prioritize and see how we might roll something like this out. If I look at FB mission of building community and brin"

    Anonymous Sparrow - "To make sure we are on the same page, this is a feature in the current FB app that would make it easier for people to volunteer? Or more broadly, the feature would aim to expand the base of volunteers. To start I want to dive deeper on the objective of the feature. Then we can look at possible users, pick a segment and outline their needs, then look at some solutions. We can then prioritize and see how we might roll something like this out. If I look at FB mission of building community and brin"See full answer

    Product Manager
    Product Design
  • Discord logoAsked at Discord 

    "My style of inspiring / discovery sessions / brainstorming / execution guidance / upskiling the team has always been Outcome driven. Outcomes always took the central focus of our efforts, and hence easier prioritisation and a clarity on why a decision failed or succeeded. I take personal responsibility to help the teams to define outcomes if it is a complicated charter and for most help them fine tune the outcomes to keep them simple, progressive and aspirational."

    RestlessMonk - "My style of inspiring / discovery sessions / brainstorming / execution guidance / upskiling the team has always been Outcome driven. Outcomes always took the central focus of our efforts, and hence easier prioritisation and a clarity on why a decision failed or succeeded. I take personal responsibility to help the teams to define outcomes if it is a complicated charter and for most help them fine tune the outcomes to keep them simple, progressive and aspirational."See full answer

    Engineering Manager
    Behavioral
    +2 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Clarifying Questions: Does parking mean a parking area where vehicles have a space to park? - Yes Are we looking at a particular geography? - UK market Roadmap of the answer: I am going to look at different users, their use cases on when they would want to park their vehicle, their pain points, the possible solution for this product, the MVP of the product along with the features and the metrics to be tracked Different User Personas: Private car owners: Park car when they go out for socializing"

    Rahul B. - "Clarifying Questions: Does parking mean a parking area where vehicles have a space to park? - Yes Are we looking at a particular geography? - UK market Roadmap of the answer: I am going to look at different users, their use cases on when they would want to park their vehicle, their pain points, the possible solution for this product, the MVP of the product along with the features and the metrics to be tracked Different User Personas: Private car owners: Park car when they go out for socializing"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 
    +2

    "Estimate Google ads revenue. Clarifications: Google ads: only includes ads shown on Google search pages. It does not include any other ads such as display advertisement etc. Google makes money everytime a user clicks on an ad. Market - US Monthly / Yearly - Yearly Revenue in $ For 2020 ? - yes So to state the Q again, I have to estimate Google’s annual search ads revenue for 2020. Ads revene =( $ads clicked everyday * avg price per ad ) * 360 $ads clicked every"

    D S. - "Estimate Google ads revenue. Clarifications: Google ads: only includes ads shown on Google search pages. It does not include any other ads such as display advertisement etc. Google makes money everytime a user clicks on an ad. Market - US Monthly / Yearly - Yearly Revenue in $ For 2020 ? - yes So to state the Q again, I have to estimate Google’s annual search ads revenue for 2020. Ads revene =( $ads clicked everyday * avg price per ad ) * 360 $ads clicked every"See full answer

    Estimation
  • +13

    "Would like to ask some clarifying questions: Is it a digital product? Yes? Application or website? Geography we are targeting? Assuming it is an app. Are we a new company or startup? Do we have any tie ups with other companies to reach a wider audience? Assuming I am the product manager of this application – goal of the application is to encourage voting more questions: Are we in the election year? Nearing the voting phase? If yes, then it will be easier for us to get users fo"

    Prerak B. - "Would like to ask some clarifying questions: Is it a digital product? Yes? Application or website? Geography we are targeting? Assuming it is an app. Are we a new company or startup? Do we have any tie ups with other companies to reach a wider audience? Assuming I am the product manager of this application – goal of the application is to encourage voting more questions: Are we in the election year? Nearing the voting phase? If yes, then it will be easier for us to get users fo"See full answer

    Product Design
  • "During my internship at Inceptra Analytics, our team was working on improving the monthly reporting process for the operations department. I proposed switching from manual Excel reports to a Power BI dashboard to automate and visualize key metrics. However, some team members were hesitant—they felt the current process, although tedious, was more familiar and controllable. My task was to get buy-in from the team to adopt a more efficient reporting method without causing disruption or resistance."

    Dhruv M. - "During my internship at Inceptra Analytics, our team was working on improving the monthly reporting process for the operations department. I proposed switching from manual Excel reports to a Power BI dashboard to automate and visualize key metrics. However, some team members were hesitant—they felt the current process, although tedious, was more familiar and controllable. My task was to get buy-in from the team to adopt a more efficient reporting method without causing disruption or resistance."See full answer

    Behavioral
  • "Clarified whether this drop is observed in a particular geography or with a particular demography or devices. Then moved to the analysis of any bugs or flow broken or any defects. If not then talk about any competitor launching a product or feature in a similar category. If yes then double down on that or else speak about any political or marketing campaign that's been launched or any negative news about Facebook. What-Why analysis and concluded with a possible cause."

    Aekagra S. - "Clarified whether this drop is observed in a particular geography or with a particular demography or devices. Then moved to the analysis of any bugs or flow broken or any defects. If not then talk about any competitor launching a product or feature in a similar category. If yes then double down on that or else speak about any political or marketing campaign that's been launched or any negative news about Facebook. What-Why analysis and concluded with a possible cause."See full answer

    Product Manager
    Execution
    +1 more
  • Google logoAsked at Google 
    +1

    "I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."

    James H. - "I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."See full answer

    Technical Program Manager
    System Design
    +1 more
  • Google logoAsked at Google 

    "I would like to understand the reason why the conclusion was made to even have google maps for kids, assumption here is kids are aged 1 to 5. Some clarifying questions Are the kids in this scenario traveling all alone or accompanied by their parents Kids are using google maps to let their parents know the directions (at times parents want to educate kids) Kids are helping others with directions to their destination. The consideration here is that kids would use maps for following s"

    Rakesh K. - "I would like to understand the reason why the conclusion was made to even have google maps for kids, assumption here is kids are aged 1 to 5. Some clarifying questions Are the kids in this scenario traveling all alone or accompanied by their parents Kids are using google maps to let their parents know the directions (at times parents want to educate kids) Kids are helping others with directions to their destination. The consideration here is that kids would use maps for following s"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 

    "As a direct competitor to my favorite product, our mission is to enhance productivity for creative professionals. Targeting small design agencies, our solution offers a streamlined project management platform tailored to their specific needs. Launch feasibility relies on user feedback, ensuring impact and monetization through subscription-based pricing. Success metrics include user engagement and retention rates."

    Devendra B. - "As a direct competitor to my favorite product, our mission is to enhance productivity for creative professionals. Targeting small design agencies, our solution offers a streamlined project management platform tailored to their specific needs. Launch feasibility relies on user feedback, ensuring impact and monetization through subscription-based pricing. Success metrics include user engagement and retention rates."See full answer

    Product Manager
    Product Design
Showing 1121-1140 of 4050