Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    +25

    " import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { // your code goes here Map map = new HashMap(); for(String s : text.replaceAll("[\\p{Punct}]", "").toLowerCase().split(" ")) { if(!s.isEmpty()) { map.merge(s, 1, Integer::sum); } } return map.entrySet().stream().sorted( (e1, e2) -> { "

    Basil A. - " import java.util.*; public class MostCommonWords { public static String mostCommonWords(String text) { // your code goes here Map map = new HashMap(); for(String s : text.replaceAll("[\\p{Punct}]", "").toLowerCase().split(" ")) { if(!s.isEmpty()) { map.merge(s, 1, Integer::sum); } } return map.entrySet().stream().sorted( (e1, e2) -> { "See full answer

    Security Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 
    +3

    "General Approach (using Max-Heap) Use a max-heap (priority queue) of size k. For each point: Compute the distance to P. Push it into the heap. If heap size > k, remove the farthest point. The heap will contain the k closest points to P. import java.util.*; public class KClosestPoints { static class Point { int x, y; public Point(int x, int y) { this.x = x; this.y = y; } // Euclidean distance squared (no need to take square root) p"

    Khushbu R. - "General Approach (using Max-Heap) Use a max-heap (priority queue) of size k. For each point: Compute the distance to P. Push it into the heap. If heap size > k, remove the farthest point. The heap will contain the k closest points to P. import java.util.*; public class KClosestPoints { static class Point { int x, y; public Point(int x, int y) { this.x = x; this.y = y; } // Euclidean distance squared (no need to take square root) p"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Waymo logoAsked at Waymo 
    Product Manager
    Product Strategy
  • "I'd start by clarifying the purpose of the in-flight experience. Get more travelers? (adoption) Reduce customer churn? (retention) Gain additional revenue? (revenue) Lets say we want to offer an in-flight experience that drives revenue. It is intuitive that, customer expectations for an in-flight experience will vary based on the duration of the flights: Short haul flights (1 hour or less): Self-help options are better suited. While seating may be important, a slight inconvenience for"

    Atit P. - "I'd start by clarifying the purpose of the in-flight experience. Get more travelers? (adoption) Reduce customer churn? (retention) Gain additional revenue? (revenue) Lets say we want to offer an in-flight experience that drives revenue. It is intuitive that, customer expectations for an in-flight experience will vary based on the duration of the flights: Short haul flights (1 hour or less): Self-help options are better suited. While seating may be important, a slight inconvenience for"See full answer

    Product Manager
    Product Design
  • Microsoft logoAsked at Microsoft 

    "The traffic congestion is said to be messedup by vehichles on road.While technically it is said to be a server issue or any other.By using some advanced tech I go to solve that."

    Dheeraj sai P. - "The traffic congestion is said to be messedup by vehichles on road.While technically it is said to be a server issue or any other.By using some advanced tech I go to solve that."See full answer

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

  • Google logoAsked at Google 

    "I will start with discussing the Google mission statement, which is to organize the world's information and make it easily accessible to everyone to help them get things done, and make their day a bit easier. I will think about building something that will leapfrog this mission. Google has already organized all of the world's public digital information in the current state. There are opportunities to get more information into a digital form. But there are also significant improvements in mak"

    Praveen - "I will start with discussing the Google mission statement, which is to organize the world's information and make it easily accessible to everyone to help them get things done, and make their day a bit easier. I will think about building something that will leapfrog this mission. Google has already organized all of the world's public digital information in the current state. There are opportunities to get more information into a digital form. But there are also significant improvements in mak"See full answer

    Product Manager
    Product Strategy
    +1 more
  • Meta logoAsked at Meta 
    Video answer for 'Design a fake news detection system.'

    " Functional Requirements Content Ingestion\: Ingest news articles from various sources (websites, social media, etc.). Handle different types of content (text, images, videos). Content Analysis\: Extract and preprocess text from articles. Analyze the content for potential indicators of fake news. Model Training and Prediction\: Use machine learning models to classify content as fake or real. Continuously improve models with new data and f"

    Scott S. - " Functional Requirements Content Ingestion\: Ingest news articles from various sources (websites, social media, etc.). Handle different types of content (text, images, videos). Content Analysis\: Extract and preprocess text from articles. Analyze the content for potential indicators of fake news. Model Training and Prediction\: Use machine learning models to classify content as fake or real. Continuously improve models with new data and f"See full answer

    Technical Program Manager
    Machine Learning
    +3 more
  • "Product Bugs can be categorised by severity associated with them. Product Roadmap prioritization happens by MuSCoW technique, or WSJF for big ticket items. Suggestions from Leadership normally fall in expedited bucket. Overall, if there's a Scrum way of executing all priorities, then the PO and Team get together to decide the scope of the sprints for execution."

    Anonymous Salmon - "Product Bugs can be categorised by severity associated with them. Product Roadmap prioritization happens by MuSCoW technique, or WSJF for big ticket items. Suggestions from Leadership normally fall in expedited bucket. Overall, if there's a Scrum way of executing all priorities, then the PO and Team get together to decide the scope of the sprints for execution."See full answer

    Product Manager
    Analytical
    +1 more
  • LinkedIn logoAsked at LinkedIn 

    "Clarifying Questions Candidate : What is the objective we want to achieve? Interviewer : Enhance User Experience, User Engagement and add value Candidate : What platform are we looking at Mobile App or Desktop? Interviewer : Platform independent Candidate : Have we conducted any product discovery experiments at this point? Interviewer : Not yet Candidate : Can we assume the new features will cater to all professionals across different industries? Interviewer : Yes Candidate : A"

    Sneha S. - "Clarifying Questions Candidate : What is the objective we want to achieve? Interviewer : Enhance User Experience, User Engagement and add value Candidate : What platform are we looking at Mobile App or Desktop? Interviewer : Platform independent Candidate : Have we conducted any product discovery experiments at this point? Interviewer : Not yet Candidate : Can we assume the new features will cater to all professionals across different industries? Interviewer : Yes Candidate : A"See full answer

    Product Manager
    Product Strategy
  • Capital One logoAsked at Capital One 

    "What do we mean by grow the VC feature? I am assuming the goal to be feature adoption. Goal: Increase VC feature adoption and usage within a timeframe (say, 6 months?) User Segments: I am thinking of the following user segments for this problem - Security conscious users (mostly an overlap with high spending limit card users) Frequent shoppers with multiple online subscriptions (we could quantify this like >5 subscriptions or so) Potential CapitalOne users who have shown interest in the"

    Ashima S. - "What do we mean by grow the VC feature? I am assuming the goal to be feature adoption. Goal: Increase VC feature adoption and usage within a timeframe (say, 6 months?) User Segments: I am thinking of the following user segments for this problem - Security conscious users (mostly an overlap with high spending limit card users) Frequent shoppers with multiple online subscriptions (we could quantify this like >5 subscriptions or so) Potential CapitalOne users who have shown interest in the"See full answer

    Product Manager
    Product Strategy
  • "Started by asking clarification questions regarding design constraints and desired features. Break down the into re-usable components - HeroImg and Carousel (with 3 images rendered) Code the components and managed the state for both in the parent component."

    Akshay J. - "Started by asking clarification questions regarding design constraints and desired features. Break down the into re-usable components - HeroImg and Carousel (with 3 images rendered) Code the components and managed the state for both in the parent component."See full answer

    Frontend Engineer
    Coding
  • +3

    "Goal/Vission of company Understanding of Whatsapp -> Whatsapp platform for people where they can connect with people remotely, they can chat with them, they can do a video call, they can send pdf, location, contacts, etc. Basically, clarify your understanding of WhatsApp. Whatsapp Goal -> connecting the people remotely in a hassle-free manner Vission 3-4 years down the line -> More engagement and retention of the users. For this vision what is the user's intended action Define"

    Anonymous Muskox - "Goal/Vission of company Understanding of Whatsapp -> Whatsapp platform for people where they can connect with people remotely, they can chat with them, they can do a video call, they can send pdf, location, contacts, etc. Basically, clarify your understanding of WhatsApp. Whatsapp Goal -> connecting the people remotely in a hassle-free manner Vission 3-4 years down the line -> More engagement and retention of the users. For this vision what is the user's intended action Define"See full answer

    Analytical
  • OpenAI logoAsked at OpenAI 
    Product Manager
    Behavioral
    +6 more
  • Amazon logoAsked at Amazon 

    "demonstrate your ability to recognize and nurture talent, provide growth opportunities, and create an environment that supports and challenges high-performing individuals. Use a real-life example to illustrate your approach and showcase your leadership skills. Managing high performers is an exciting and rewarding aspect of being an engineering manager. These individuals are often the driving force behind innovation, productivity, and success within a team. As a manager, it's crucial to recogni"

    Sam T. - "demonstrate your ability to recognize and nurture talent, provide growth opportunities, and create an environment that supports and challenges high-performing individuals. Use a real-life example to illustrate your approach and showcase your leadership skills. Managing high performers is an exciting and rewarding aspect of being an engineering manager. These individuals are often the driving force behind innovation, productivity, and success within a team. As a manager, it's crucial to recogni"See full answer

    Engineering Manager
    Behavioral
  • Meta logoAsked at Meta 

    "Clarifying Questions Improve Netflix; Geography? India Vision - Becoming the best global entertainment distribution service Objective: Growth Engagement Retention I would focus on Growth because Highly growing adoption of internet increasing purchasing power in T2&T3 Indian consumers are constantly in need of finding new content to watch aligned with Netflix strategy of producing content for indian masses I believe Netflix has a really good immersive viewing/wathcing"

    Sandeep K. - "Clarifying Questions Improve Netflix; Geography? India Vision - Becoming the best global entertainment distribution service Objective: Growth Engagement Retention I would focus on Growth because Highly growing adoption of internet increasing purchasing power in T2&T3 Indian consumers are constantly in need of finding new content to watch aligned with Netflix strategy of producing content for indian masses I believe Netflix has a really good immersive viewing/wathcing"See full answer

    Product Manager
    Product Design
  • +4

    "Clarifying Questions How do we define restaurants? Do only delivery/ pick up outlets qualify? : No. Consider only places where people can sit and eat Do restaurants within hotels count? : No Should I include cafes too? : Yes Can I assume the year to be 2024?: Yes Are we looking at specific areas within Bangalore or entire city ? : Entire city Here's how I will approach this question. I will divide Bangalore into places with High, medium and low population density. This is a relat"

    Kartikeya N. - "Clarifying Questions How do we define restaurants? Do only delivery/ pick up outlets qualify? : No. Consider only places where people can sit and eat Do restaurants within hotels count? : No Should I include cafes too? : Yes Can I assume the year to be 2024?: Yes Are we looking at specific areas within Bangalore or entire city ? : Entire city Here's how I will approach this question. I will divide Bangalore into places with High, medium and low population density. This is a relat"See full answer

    Product Manager
    Estimation
  • Machine Learning Engineer
    Concept
    +2 more
  • DoorDash logoAsked at DoorDash 

    "My Favourite music application - YT Music YT music is a music streaming service for individuals. YT Music is exclusive for YT Premium members. Users : Listeners Creator Ops (internal to Youtube) Business Goal : Improve Listener engagement by 20% in the next 6 months. Listener Engagement - DAU (Activity is defined as listened to music for at-least 10 mins) Listener User Segments : Music Enthusiasts Music for relaxation Which segment has the opportunity? List Pain"

    Shivam G. - "My Favourite music application - YT Music YT music is a music streaming service for individuals. YT Music is exclusive for YT Premium members. Users : Listeners Creator Ops (internal to Youtube) Business Goal : Improve Listener engagement by 20% in the next 6 months. Listener Engagement - DAU (Activity is defined as listened to music for at-least 10 mins) Listener User Segments : Music Enthusiasts Music for relaxation Which segment has the opportunity? List Pain"See full answer

    Product Manager
    Behavioral
    +1 more
  • "Before jumping in to answer, I want us to be on the same page regarding a few things: I am the PM for Coinbase app; not for coinbase pro or wallet etc. The very fact that a token will list on Coinbase increases the price / market activity around the token. We want to create a process which takes this into consideration. Users trust coinbase. Therefore, the assets listed on coinbase need significant vetting before they can be put on the system. Technology integrations - How much work"

    Prateek S. - "Before jumping in to answer, I want us to be on the same page regarding a few things: I am the PM for Coinbase app; not for coinbase pro or wallet etc. The very fact that a token will list on Coinbase increases the price / market activity around the token. We want to create a process which takes this into consideration. Users trust coinbase. Therefore, the assets listed on coinbase need significant vetting before they can be put on the system. Technology integrations - How much work"See full answer

    Analytical
    Execution
    +1 more
  • Google logoAsked at Google 

    "Any more details about this can make it easy"

    Srinivasa R. - "Any more details about this can make it easy"See full answer

    Product Design
    System Design
Showing 741-760 of 4415