Interview Questions

Review this list of 3,984 interview questions and answers verified by hiring managers and candidates.
  • "Which one I critical, is the erratic change in the delivery cycle is one you need to investigate and further deep dive into to find the root cause"

    Vijay S. - "Which one I critical, is the erratic change in the delivery cycle is one you need to investigate and further deep dive into to find the root cause"See full answer

    Product Manager
    Program Sense
  • Google logoAsked at Google 
    +18

    "def friend_distance(friends, userA, userB): step = 0 total_neighs = set() llen = len(total_neighs) total_neighs.add(userB) while len(total_neighs)!=llen: s = set() step += 1 llen = len(total_neighs) for el in total_neighs: nes = neighbours(friends, userA, el) if userA in nes: return step for p in nes: s.add(p) for el in s: total_neighs.add(el) return -1 def neighbours(A,n1, n2): out = set() for i in range(len(A[n2])): if An2: out.add(i) return out"

    Batman X. - "def friend_distance(friends, userA, userB): step = 0 total_neighs = set() llen = len(total_neighs) total_neighs.add(userB) while len(total_neighs)!=llen: s = set() step += 1 llen = len(total_neighs) for el in total_neighs: nes = neighbours(friends, userA, el) if userA in nes: return step for p in nes: s.add(p) for el in s: total_neighs.add(el) return -1 def neighbours(A,n1, n2): out = set() for i in range(len(A[n2])): if An2: out.add(i) return out"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Technical Program Manager
    Product Strategy
  • "Clarifying Questions What do we mean by ‘improve’? Is there a certain goal that we are trying to attain? Is there a target user that we are going for? Any constraints or things to keep in mind when building this? Assumptions Only focused on google docs and not collaboration on other G-suite products such as PPT or sheets What is Google Docs? Web-based productivity tool that allows you to access your files from any computer through your gmail account. You can also share and"

    Esha - "Clarifying Questions What do we mean by ‘improve’? Is there a certain goal that we are trying to attain? Is there a target user that we are going for? Any constraints or things to keep in mind when building this? Assumptions Only focused on google docs and not collaboration on other G-suite products such as PPT or sheets What is Google Docs? Web-based productivity tool that allows you to access your files from any computer through your gmail account. You can also share and"See full answer

    Product Design
    Technical
  • "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"

    Bhuppi S. - "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"See full answer

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

  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Evication Strategy: LFU Access Pattern: Write Around"

    Yomna H. - "Evication Strategy: LFU Access Pattern: Write Around"See full answer

    Software Engineer
    System Design
  • +2

    "Assumption #1: the deal is signed and the customer now will being the process of moving to GCP Assumption #2 : the deal includes Iaas as well as Paas (App Engine) - moving apps from on prem to cloud Objective : Design a product that will help the customer onboard and successfully plan the move to GCP. Customer is using on premise and is new to cloud. Lets assume the tool should include the roadmap planning too ie decisions such as moving all vs some applications etc . As in any onboarding to"

    Aruna D. - "Assumption #1: the deal is signed and the customer now will being the process of moving to GCP Assumption #2 : the deal includes Iaas as well as Paas (App Engine) - moving apps from on prem to cloud Objective : Design a product that will help the customer onboard and successfully plan the move to GCP. Customer is using on premise and is new to cloud. Lets assume the tool should include the roadmap planning too ie decisions such as moving all vs some applications etc . As in any onboarding to"See full answer

    Product Design
    Product Strategy
  • Google logoAsked at Google 

    "Handling projects out of my expertise: When faced with a project that falls outside of my expertise, I take the following steps: Identify my skills and knowledge gaps: I assess my own strengths and limitations, and determine which areas of the project may be outside of my comfort zone or expertise. Seek guidance and mentorship: I reach out to colleagues or subject matter experts who have relevant knowledge or experience, and ask for their advice and guidance on the project. Learn and adapt"

    Anonymous Flamingo - "Handling projects out of my expertise: When faced with a project that falls outside of my expertise, I take the following steps: Identify my skills and knowledge gaps: I assess my own strengths and limitations, and determine which areas of the project may be outside of my comfort zone or expertise. Seek guidance and mentorship: I reach out to colleagues or subject matter experts who have relevant knowledge or experience, and ask for their advice and guidance on the project. Learn and adapt"See full answer

    Technical Program Manager
    Product Design
  • Google logoAsked at Google 
    +1

    "Let me first ask some clarification questions / make assumptions: Any specific geographic region? => USA How do we measure bandwith? a. Bandwith is the maximum internet speed required for our google maps servers to support all google maps traffic in the USA. At which point do we measure bandwith? => at the “entrance” of each google server center Do we talk about maximum bandwith required? a. Yes, the maximum BB required to support google maps in the USA (on side of Google) Outline: O"

    Valentin B. - "Let me first ask some clarification questions / make assumptions: Any specific geographic region? => USA How do we measure bandwith? a. Bandwith is the maximum internet speed required for our google maps servers to support all google maps traffic in the USA. At which point do we measure bandwith? => at the “entrance” of each google server center Do we talk about maximum bandwith required? a. Yes, the maximum BB required to support google maps in the USA (on side of Google) Outline: O"See full answer

    Product Manager
    Estimation
  • "Goals (Prod & Safeway) User Groups: Shoppers: College Students Professionals Families Elderly New customers (not already in the store) I selected elderly due to trends on the aging population being a significant population in the next decade and it being a group we have the most opportunity as Safeway to support. Pain Points **Most likely these customers are buying things in person or someone is purchasing items for them and gettin"

    Anonymous Minnow - "Goals (Prod & Safeway) User Groups: Shoppers: College Students Professionals Families Elderly New customers (not already in the store) I selected elderly due to trends on the aging population being a significant population in the next decade and it being a group we have the most opportunity as Safeway to support. Pain Points **Most likely these customers are buying things in person or someone is purchasing items for them and gettin"See full answer

    Product Manager
    Product Design
  • +15

    "with jay as (select employeeid, max(score)  as maxscore from test_results group by employeeid,testid) select employeeid,e.name as employeename ,sum(maxscore) as totalscore from jay inner join employees as e on jay.employee_id=e.id group by 1 order by 3 desc"

    Jayveer S. - "with jay as (select employeeid, max(score)  as maxscore from test_results group by employeeid,testid) select employeeid,e.name as employeename ,sum(maxscore) as totalscore from jay inner join employees as e on jay.employee_id=e.id group by 1 order by 3 desc"See full answer

    Coding
    SQL
  • +3

    "Situation - A situation where I used creative / innovative thinking to eliminate frustration with a product was while I was working on Point of Sale and Polaris for Retail Design System for Shopify. Upon seeing our vision for the future of this design system, it lacked a lot of the visual polish and necessary components that would make the product much more competitive in the market - this included having a lack of an interaction model for what is tappable vs. not tappable as well as containmen"

    Ben G. - "Situation - A situation where I used creative / innovative thinking to eliminate frustration with a product was while I was working on Point of Sale and Polaris for Retail Design System for Shopify. Upon seeing our vision for the future of this design system, it lacked a lot of the visual polish and necessary components that would make the product much more competitive in the market - this included having a lack of an interaction model for what is tappable vs. not tappable as well as containmen"See full answer

    Product Designer
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    +3

    "As an engineering manager, motivation is key to the success of the team. Here are some ways to motivate the team: Set clear goals: Clearly defined goals help team members understand what they're working towards and give them a sense of purpose. Offer growth opportunities: Providing opportunities for professional development and advancement can increase motivation and job satisfaction. Provide recognition and rewards: Recognising and rewarding team members for their hard work and achieve"

    Santhosh K. - "As an engineering manager, motivation is key to the success of the team. Here are some ways to motivate the team: Set clear goals: Clearly defined goals help team members understand what they're working towards and give them a sense of purpose. Offer growth opportunities: Providing opportunities for professional development and advancement can increase motivation and job satisfaction. Provide recognition and rewards: Recognising and rewarding team members for their hard work and achieve"See full answer

    Engineering Manager
    Behavioral
  • Goldman Sachs logoAsked at Goldman Sachs 
    +8

    "public static Integer[] findLargest(int[] input, int m) { if(input==null || input.length==0) return null; PriorityQueue minHeap=new PriorityQueue(); for(int i:input) { if(minHeap.size()(int)top){ minHeap.poll(); minHeap.add(i); } } } Integer[] res=minHeap.toArray(new Integer[0]); Arrays.sort(res); return res; }"

    Divya R. - "public static Integer[] findLargest(int[] input, int m) { if(input==null || input.length==0) return null; PriorityQueue minHeap=new PriorityQueue(); for(int i:input) { if(minHeap.size()(int)top){ minHeap.poll(); minHeap.add(i); } } } Integer[] res=minHeap.toArray(new Integer[0]); Arrays.sort(res); return res; }"See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
  • Amazon logoAsked at Amazon 

    "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"

    Anonymous Wombat - "Was the statement very similar to the leetcode or was it changed and only the main idea remained?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Product of Array Except Self'
    +41

    "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"

    Sachin R. - "If 0's aren't a concern, couldn't we just multiply all numbers. and then divide product by each number in the list ? if there's more than one zero, then we just return an array of 0s if there's one zero, then we just replace 0 with product and rest 0s. what am i missing?"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • +2

    "Statement: Improve the music experience at youtube Is the goal to improve the experience for any particular kind of user/music genre? Ans: No, nothing in particular Goal: I’m going to assume the goal is to improve the experience of listening to music generally Google’s mission is to organise the world’s information. Youtube is a platform that lets people discover videos, interesting content as tailored to their interests, thus serving Google’s mission Music on Youtube also contributes to"

    Pranav M. - "Statement: Improve the music experience at youtube Is the goal to improve the experience for any particular kind of user/music genre? Ans: No, nothing in particular Goal: I’m going to assume the goal is to improve the experience of listening to music generally Google’s mission is to organise the world’s information. Youtube is a platform that lets people discover videos, interesting content as tailored to their interests, thus serving Google’s mission Music on Youtube also contributes to"See full answer

    Product Design
  • " Communication between Mars and Earth is facilitated through various methods and technologies. The primary means of communication is through the use of space probes, particularly those equipped with powerful transmitters and receivers. Here's a general overview of how communication between Mars and Earth works: Deep Space Network (DSN): NASA operates the Deep Space Network, a global system of radio antennas located in California, Spain, and Australia. These antennas are responsible for sending"

    Anonymous Panda - " Communication between Mars and Earth is facilitated through various methods and technologies. The primary means of communication is through the use of space probes, particularly those equipped with powerful transmitters and receivers. Here's a general overview of how communication between Mars and Earth works: Deep Space Network (DSN): NASA operates the Deep Space Network, a global system of radio antennas located in California, Spain, and Australia. These antennas are responsible for sending"See full answer

    Technical
  • +5

    "Assuming for the US Segment by size of businessNumber of employees per business sizePrice per employee=Revenue Price per employee should decrease with a larger employee base. 30M businesses in the US Small Business 60% of businesses are small=18M Average number of employees=50 Price per employee=$5 Small Business Revenue=$2.7B Medium Business 30% of them are medium=9M Average number of employees=1000 Price per employee=$3 Medium Business Revenue=$8.1B Large Business 10% of th"

    Anonymous Puma - "Assuming for the US Segment by size of businessNumber of employees per business sizePrice per employee=Revenue Price per employee should decrease with a larger employee base. 30M businesses in the US Small Business 60% of businesses are small=18M Average number of employees=50 Price per employee=$5 Small Business Revenue=$2.7B Medium Business 30% of them are medium=9M Average number of employees=1000 Price per employee=$3 Medium Business Revenue=$8.1B Large Business 10% of th"See full answer

    Estimation
Showing 1001-1020 of 3984