Interview Questions

Review this list of 4,392 interview questions and answers verified by hiring managers and candidates.
  • LinkedIn logoAsked at LinkedIn 
    Product Strategy
  • "Inheritance is termed as "is-a" relationship, tightly coupled, and has a flexibility to access all the methods of super class. It is achieved using two classes having a parent-child relationship. Composition is termed as "has-a" relationship, loosely coupled and restricted in accessing methods. It is achieved by using the reference of a class as an instance variable in other class."

    Ranjith kumar M. - "Inheritance is termed as "is-a" relationship, tightly coupled, and has a flexibility to access all the methods of super class. It is achieved using two classes having a parent-child relationship. Composition is termed as "has-a" relationship, loosely coupled and restricted in accessing methods. It is achieved by using the reference of a class as an instance variable in other class."See full answer

    Software Engineer
    Concept
  • HelloFresh logoAsked at HelloFresh 

    "This is another Diagnosis problem. To answer this question, we suggest you use our framework (along with the TROPIC method) to be as thorough as possible. The framework is as follows: Ask clarifying questions List potential high level reasons Gather Context (TROPIC)Time Region Other features / products (internal) Platform Industry / Competition Cannibalization Establish a theory of probable cause Test theories Propose solutions Summarize "

    Exponent - "This is another Diagnosis problem. To answer this question, we suggest you use our framework (along with the TROPIC method) to be as thorough as possible. The framework is as follows: Ask clarifying questions List potential high level reasons Gather Context (TROPIC)Time Region Other features / products (internal) Platform Industry / Competition Cannibalization Establish a theory of probable cause Test theories Propose solutions Summarize "See full answer

    Product Manager
    Analytical
    +1 more
  • WeRize logoAsked at WeRize 

    "It was an entire case study"

    Vivek A. - "It was an entire case study"See full answer

    Product Manager
    Product Strategy
  • Anthropic logoAsked at Anthropic 

    "Hallucinations are evaluated by measuring how often generated outputs contain information that is not supported by trusted sources. what hallucination means in context: Intrinsic hallucination: contradicts provided context Extrinsic hallucination: introduces unsupported facts Fabrication: confidently incorrect answers"

    Hardik saurabh G. - "Hallucinations are evaluated by measuring how often generated outputs contain information that is not supported by trusted sources. what hallucination means in context: Intrinsic hallucination: contradicts provided context Extrinsic hallucination: introduces unsupported facts Fabrication: confidently incorrect answers"See full answer

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

  • Microsoft logoAsked at Microsoft 

    "int reverse(int x) { int rev = 0; bool isNegative = false; if(x 0){ int r = x % 10; rev = rev * 10 + r; x = x / 10; } if(isNegative){ return -rev; } return rev; } `"

    Nilay B. - "int reverse(int x) { int rev = 0; bool isNegative = false; if(x 0){ int r = x % 10; rev = rev * 10 + r; x = x / 10; } if(isNegative){ return -rev; } return rev; } `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • "int a_array[10] = {3,6,4,7,2,1,9}; int index = 0; int index2 = 0; for ( index = 0; index < sizeof(a_array); index++ ) { int tmpindex = index + 1; if ( tmpindex <= sizeof(a_array) ) { for ( index2 = tmpindex; index2 < sizeof(a_array); index2++ ) { if ( aarray[index] <= aarray[index2] ) { print( "%d is the NGE of %d" array[index2], array[index]); break; "

    Mark S. - "int a_array[10] = {3,6,4,7,2,1,9}; int index = 0; int index2 = 0; for ( index = 0; index < sizeof(a_array); index++ ) { int tmpindex = index + 1; if ( tmpindex <= sizeof(a_array) ) { for ( index2 = tmpindex; index2 < sizeof(a_array); index2++ ) { if ( aarray[index] <= aarray[index2] ) { print( "%d is the NGE of %d" array[index2], array[index]); break; "See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Product Manager
    Product Strategy
  • Google logoAsked at Google 

    "Question: An array of n integers is given, and a positive integer k, where k << n. k indicates that the absolute difference between each element's current index (icurrent) and the index in the sorted array (isorted) is less than k (|icurr - isorted| < k). Sort the given array. The most common solution is with a Heap: def solution(arr, k): min_heap = [] result = [] for i in range(len(arr)) heapq.heappush(min_heap, arr[i]) "

    Guilherme M. - "Question: An array of n integers is given, and a positive integer k, where k << n. k indicates that the absolute difference between each element's current index (icurrent) and the index in the sorted array (isorted) is less than k (|icurr - isorted| < k). Sort the given array. The most common solution is with a Heap: def solution(arr, k): min_heap = [] result = [] for i in range(len(arr)) heapq.heappush(min_heap, arr[i]) "See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Disney logoAsked at Disney 

    "This is an Improve a Product question. Let's first go over the Improve a Product formula: Ask clarifying questions Identify users, behaviors, and pain points State product goal Brainstorm small improvements Brainstorm bolder improvements Measure success Summarize Now, let's begin! Ask clarifying questions Before we begin listing off recommendations, it's important you ask questions to ensure you and the interviewer are on the same page"

    Exponent - "This is an Improve a Product question. Let's first go over the Improve a Product formula: Ask clarifying questions Identify users, behaviors, and pain points State product goal Brainstorm small improvements Brainstorm bolder improvements Measure success Summarize Now, let's begin! Ask clarifying questions Before we begin listing off recommendations, it's important you ask questions to ensure you and the interviewer are on the same page"See full answer

    Product Manager
    Product Design
  • "questions cannot be mentioned due to NDA but be passionate about your role with PlayStation."

    Praniti S. - "questions cannot be mentioned due to NDA but be passionate about your role with PlayStation."See full answer

    Product Manager
    Behavioral
    +1 more
  • Apple logoAsked at Apple 

    "You should be able to easily identify this as a Measure Success question. These kinds of questions are used to test your analytical skills, as well as your ability to track project progress post-launch. Recall the strategy for tackling them methodically and thoroughly: Ask clarifying questions State the goal of the feature / product Behavior Mapping / UX Flow Mapping Provide criteria to prioritize metrics Prioritize metrics Summarize Let's begin! "

    Exponent - "You should be able to easily identify this as a Measure Success question. These kinds of questions are used to test your analytical skills, as well as your ability to track project progress post-launch. Recall the strategy for tackling them methodically and thoroughly: Ask clarifying questions State the goal of the feature / product Behavior Mapping / UX Flow Mapping Provide criteria to prioritize metrics Prioritize metrics Summarize Let's begin! "See full answer

    Product Manager
    Analytical
  • Google logoAsked at Google 

    "Do any one know how to build trie using IP address?"

    Graig - "Do any one know how to build trie using IP address?"See full answer

    Software Engineer
    System Design
  • Google logoAsked at Google 
    Product Designer
    Product Design
  • "As a PM, my primary focus is to create business value by creating customer value. For me to prioritize where to use the money, First I need to learn more about this business, I know that this is a non-profit org but a non-profit still operates as a business it’s just that making money is not their focus. Second, I would like to understand where in the value chain for this food bank, is the biggest problem that stops us from helping the customers. A few questions I have to understand the above tw"

    Gunjit M. - "As a PM, my primary focus is to create business value by creating customer value. For me to prioritize where to use the money, First I need to learn more about this business, I know that this is a non-profit org but a non-profit still operates as a business it’s just that making money is not their focus. Second, I would like to understand where in the value chain for this food bank, is the biggest problem that stops us from helping the customers. A few questions I have to understand the above tw"See full answer

    Product Manager
    Behavioral
    +1 more
  • "Swiggy could implement to increase the average order value (AOV) on its platform: 1. Smart Recommendations and Upselling: Personalized suggestions: Leverage data to recommend items based on past orders, popular choices, and trending items in the user's area. Upselling prompts: When a user adds an item to their cart, suggest related or higher-value items (e.g., "Would you like to add a side of fries with that?" or "Upgrade to a large for just ₹X more"). Bundle deals: Offer c"

    Harish K. - "Swiggy could implement to increase the average order value (AOV) on its platform: 1. Smart Recommendations and Upselling: Personalized suggestions: Leverage data to recommend items based on past orders, popular choices, and trending items in the user's area. Upselling prompts: When a user adds an item to their cart, suggest related or higher-value items (e.g., "Would you like to add a side of fries with that?" or "Upgrade to a large for just ₹X more"). Bundle deals: Offer c"See full answer

    Business Analyst
    Analytical
    +2 more
  • "Idempotence refers to the property that the same request multiple times produces the same result on the server side. No matter how many times I repeat the request, the server state does not change after the first request. This concept is important to ensure consistency, especially in systems where requests may be repeated due to network failures or other problems. Let's take a look at different HTTP methods for a clearer understanding. GET: By definition, GET requests must be powerless. Execut"

    T I. - "Idempotence refers to the property that the same request multiple times produces the same result on the server side. No matter how many times I repeat the request, the server state does not change after the first request. This concept is important to ensure consistency, especially in systems where requests may be repeated due to network failures or other problems. Let's take a look at different HTTP methods for a clearer understanding. GET: By definition, GET requests must be powerless. Execut"See full answer

    Solutions Architect
    Concept
    +1 more
  • Walgreens logoAsked at Walgreens 
    Product Manager
    Analytical
    +1 more
  • +1

    "Test case is wrong. It expects to sort in asc order of month_year. -- Write your query here SELECT strftime('%Y-%m', createdat) AS monthyear, COUNT(DISTINCT userid) AS numcustomers, COUNT(t.id) AS num_orders, SUM(price * quantity) AS order_amt FROM transactions t INNER JOIN products p ON t.product_id = p.id GROUP BY month_year ORDER BY month_year ; "

    Aneesha K. - "Test case is wrong. It expects to sort in asc order of month_year. -- Write your query here SELECT strftime('%Y-%m', createdat) AS monthyear, COUNT(DISTINCT userid) AS numcustomers, COUNT(t.id) AS num_orders, SUM(price * quantity) AS order_amt FROM transactions t INNER JOIN products p ON t.product_id = p.id GROUP BY month_year ORDER BY month_year ; "See full answer

    Coding
    SQL
Showing 3041-3060 of 4392