Interview Questions

Review this list of 4,217 interview questions and answers verified by hiring managers and candidates.
  • Apple logoAsked at Apple 
    Software Engineer
    Data Structures & Algorithms
    +4 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
  • "This happened in my previous job in [company X]. I was the Single threaded Owner for a new business growth initiative from this company to launch a new eCommerce supply chain solution that X was planning to experiment. Being the single threaded owner, I was accountable for researching the customer problems and coming up with business goals and requirements, including identifying the engineering headcount needed to solve the customer pain point and eventually execute it across 11 different produ"

    VictorSage - "This happened in my previous job in [company X]. I was the Single threaded Owner for a new business growth initiative from this company to launch a new eCommerce supply chain solution that X was planning to experiment. Being the single threaded owner, I was accountable for researching the customer problems and coming up with business goals and requirements, including identifying the engineering headcount needed to solve the customer pain point and eventually execute it across 11 different produ"See full answer

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

  • Google logoAsked at Google 
    Product Manager
    Product Design
  • "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
    Technical
    +1 more
  • "boolean isMatch(String s, String p) { int i=0; int j=0; int sID=-1; int prevM=-1; while(i<s.length()){ if(j<p.length() && (s.charAt(i)==p.charAt(j) || p.charAt(j)=='?')){ i++; j++; }else if(j<p.length() && p.charAt(j)=='*'){ sID=j; prevM=i; j++; }else if(sID!=-1){ j=sID+1; prevM++; i=prevM; }else{ return false; } } while(j<p.length() && p.charAt(j)=='*') j++; if(i!=s.length() || j!=p.leng"

    Ravi C. - "boolean isMatch(String s, String p) { int i=0; int j=0; int sID=-1; int prevM=-1; while(i<s.length()){ if(j<p.length() && (s.charAt(i)==p.charAt(j) || p.charAt(j)=='?')){ i++; j++; }else if(j<p.length() && p.charAt(j)=='*'){ sID=j; prevM=i; j++; }else if(sID!=-1){ j=sID+1; prevM++; i=prevM; }else{ return false; } } while(j<p.length() && p.charAt(j)=='*') j++; if(i!=s.length() || j!=p.leng"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • "Here's some thought on what I'll be doing in this situation: Identify the root cause (I'll try to assess WHY the engineers don't action these tickets). In order to identify the potential reasons, I'd have 1:1s with team members, observe participation and engagement in backlog grooming sessions and check in with leads and my peers. Lack of clarity on requirements or acceptance criteria. Skill gaps. Dependency on other teams or missing prerequisites. Team capaci"

    Anonymous Dingo - "Here's some thought on what I'll be doing in this situation: Identify the root cause (I'll try to assess WHY the engineers don't action these tickets). In order to identify the potential reasons, I'd have 1:1s with team members, observe participation and engagement in backlog grooming sessions and check in with leads and my peers. Lack of clarity on requirements or acceptance criteria. Skill gaps. Dependency on other teams or missing prerequisites. Team capaci"See full answer

    Customer Success Manager
    Behavioral
    +1 more
  • Adobe logoAsked at Adobe 
    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Estimation
  • Uber logoAsked at Uber 

    "This is a Fermi problem — an estimation or approximation problem with limited information and back-of-the-envelope calculations. There's no right answer: interviewers want to understand how you think and how well you can explain your reasoning, rather than what you already know. Recall the formula for Fermi problems: Ask clarifying questions Catalog what you know Make equation(s) Think about edge cases to add to equation **Breakdown components of your equat"

    Exponent - "This is a Fermi problem — an estimation or approximation problem with limited information and back-of-the-envelope calculations. There's no right answer: interviewers want to understand how you think and how well you can explain your reasoning, rather than what you already know. Recall the formula for Fermi problems: Ask clarifying questions Catalog what you know Make equation(s) Think about edge cases to add to equation **Breakdown components of your equat"See full answer

    Product Manager
    Estimation
  • Capital One logoAsked at Capital One 
    Product Manager
    Product Design
  • Amazon logoAsked at Amazon 

    "CIDR (Classless Inter-Domain Routing) -- also known as supernetting -- is a method of assigning Internet Protocol (IP) addresses that improves the efficiency of address distribution and replaces the previous system based on Class A, Class B and Class C networks."

    Ali H. - "CIDR (Classless Inter-Domain Routing) -- also known as supernetting -- is a method of assigning Internet Protocol (IP) addresses that improves the efficiency of address distribution and replaces the previous system based on Class A, Class B and Class C networks."See full answer

    Solutions Architect
    Technical
  • "Feel free to download the full assignment (with screens) here: https://www.varunja.in/blog/assignment, cheers! Expected Outcome: Users: What do you know about the users of WhatsApp? What do they want? Features: What features will you build? Prioritization: What will be in your MVP and what will be in your 2.0 version? After you have decided on the MVP: Engineering: How hard is this to build? How long might it take? Are there ways to build a solution more quicker? Design: How does your new fea"

    Varun J. - "Feel free to download the full assignment (with screens) here: https://www.varunja.in/blog/assignment, cheers! Expected Outcome: Users: What do you know about the users of WhatsApp? What do they want? Features: What features will you build? Prioritization: What will be in your MVP and what will be in your 2.0 version? After you have decided on the MVP: Engineering: How hard is this to build? How long might it take? Are there ways to build a solution more quicker? Design: How does your new fea"See full answer

    Product Manager
    Product Strategy
    +2 more
  • Product Design
  • Goldman Sachs logoAsked at Goldman Sachs 
    Software Engineer
    System Design
  • Patreon logoAsked at Patreon 
    Product Manager
    Product Design
    +1 more
Showing 2941-2960 of 4217