Interview Questions

Review this list of 3,949 interview questions and answers verified by hiring managers and candidates.
  • Mastercard logoAsked at Mastercard 

    "function findMinMax(array){ array.sort((a,b) => a - b); let min = array[0]; let max = array.slice(-1); return [min,max]; } `"

    Adam S. - "function findMinMax(array){ array.sort((a,b) => a - b); let min = array[0]; let max = array.slice(-1); return [min,max]; } `"See full answer

    Software Engineer
    Technical
  • Apple logoAsked at Apple 

    Coin Change

    IDE
    Medium
    +6

    "The example given is wrong. The 2nd test case should have answer 3, as we can get to 6 by using 3 coins of denomination 2."

    Anmol R. - "The example given is wrong. The 2nd test case should have answer 3, as we can get to 6 by using 3 coins of denomination 2."See full answer

    Backend Engineer
    Coding
    +3 more
  • +1

    "We use binary search to locate 1s and then we can search linearly from there."

    Pranoy D. - "We use binary search to locate 1s and then we can search linearly from there."See full answer

    Technical
  • Microsoft logoAsked at Microsoft 
    Video answer for 'Find the number of rotations in a circularly sorted array.'
    +8

    "function findRotations(nums) { if (nums.length 0 && nums[mid] > nums[mid-1]) { left = mid; } else { right = mid; } } return rig"

    Tiago R. - "function findRotations(nums) { if (nums.length 0 && nums[mid] > nums[mid-1]) { left = mid; } else { right = mid; } } return rig"See full answer

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

  • Google logoAsked at Google 

    "Binary search is the technique to search an element in a sorted array in O(log(N)) time. It is also used in problems wherever we find monotonically increasing or decreasing patterns."

    Shivam S. - "Binary search is the technique to search an element in a sorted array in O(log(N)) time. It is also used in problems wherever we find monotonically increasing or decreasing patterns."See full answer

    Frontend Engineer
    Technical
  • "Steps: Validate K to be less than the number of elements in an array. Sort the array in ascending order. Get the K'th smallest element by array[k-1]."

    Ashesh S. - "Steps: Validate K to be less than the number of elements in an array. Sort the array in ascending order. Get the K'th smallest element by array[k-1]."See full answer

  • "As the array is sorted, would it best to use binary search to find the one the triplet and just navigate from it."

    Anonymous Narwhal - "As the array is sorted, would it best to use binary search to find the one the triplet and just navigate from it."See full answer

    Technical
  • "bool isConsecutive(int arr[], int n) { // base case if (n max) { max = arr[i]; } } // for an array to contain consecutive integers, the difference between // the maximum and minimum element in it should be exactly \n-1\ if (max - min != n - 1) { return false; } // create an empty set (we can also use a visit"

    Hinata T. - "bool isConsecutive(int arr[], int n) { // base case if (n max) { max = arr[i]; } } // for an array to contain consecutive integers, the difference between // the maximum and minimum element in it should be exactly \n-1\ if (max - min != n - 1) { return false; } // create an empty set (we can also use a visit"See full answer

  • "printarr(subarr) for sub_arr in arr; function printarr(subarr) { print(elem) for elem in sub_arr }"

    Zvi D. - "printarr(subarr) for sub_arr in arr; function printarr(subarr) { print(elem) for elem in sub_arr }"See full answer

    Technical
  • Google logoAsked at Google 

    "Questions: Can the toothbrush be a smart toothbrush, different from typical toothbrushes? Ans: Yes Children's age group? Ans: Pick your choice Cost? Ans: Not a concern Country? Ans: Ignore Personas: Parents typically help kids in brushing up to 5 years. Let us assume 5-10year olds as our focus. That is a decent 5%+ of global population. Pain Points: Brushing teeth for kids is a pain. They simply do not like it sometimes. Dental checkup is always a hassle. Some ki"

    Bg - "Questions: Can the toothbrush be a smart toothbrush, different from typical toothbrushes? Ans: Yes Children's age group? Ans: Pick your choice Cost? Ans: Not a concern Country? Ans: Ignore Personas: Parents typically help kids in brushing up to 5 years. Let us assume 5-10year olds as our focus. That is a decent 5%+ of global population. Pain Points: Brushing teeth for kids is a pain. They simply do not like it sometimes. Dental checkup is always a hassle. Some ki"See full answer

    Product Design
  • Amazon logoAsked at Amazon 
    Video answer for 'What is the project you are most proud of?'
    +49

    "I was working for my friend building streams at venues across the Chicago land area for FGC (fighting game tournaments), I adjusted and engineered his equipment to be set up permanently that's until covid came around at least. I used OBS to give visual appearances to stream watchers. So we're talking about subscribe, follow, and donation notifications and things of that nature for viewers to know they contributed in one of those ways. I set up proper sign-up scheduling for participants to lock t"

    Ayinde B. - "I was working for my friend building streams at venues across the Chicago land area for FGC (fighting game tournaments), I adjusted and engineered his equipment to be set up permanently that's until covid came around at least. I used OBS to give visual appearances to stream watchers. So we're talking about subscribe, follow, and donation notifications and things of that nature for viewers to know they contributed in one of those ways. I set up proper sign-up scheduling for participants to lock t"See full answer

    Product Manager
    Behavioral
    +9 more
  • Dropbox logoAsked at Dropbox 
    Program Sense
  • Dropbox logoAsked at Dropbox 

    "Customer happiness Execution velocity Engineering engagement Capacity utilization"

    Ursula Z. - "Customer happiness Execution velocity Engineering engagement Capacity utilization"See full answer

    Solutions Architect
    Program Sense
  • Dropbox logoAsked at Dropbox 
    Video answer for 'How do you sunset a project?'
    +9

    "Video has audio disruption starting at ~7th minute, did not understand what law he was talking about. Can someone please clarify?"

    Ushita S. - "Video has audio disruption starting at ~7th minute, did not understand what law he was talking about. Can someone please clarify?"See full answer

    Program Sense
  • Dropbox logoAsked at Dropbox 

    "Project Schedule is a living document which is prepared based on inputs from the entire team including product, engineering, finance, sales, marketing, legal etc. It is owned by Project/Program Manager but it reflects progress of the whole team. Inputs required for the development of schedule includes project charter, list of stakeholders, project scope, WBS, freeze calendar, vendor SOWs etc. I will use the following approach for schedule development: Copy Milestone level plan from Project"

    Saket S. - "Project Schedule is a living document which is prepared based on inputs from the entire team including product, engineering, finance, sales, marketing, legal etc. It is owned by Project/Program Manager but it reflects progress of the whole team. Inputs required for the development of schedule includes project charter, list of stakeholders, project scope, WBS, freeze calendar, vendor SOWs etc. I will use the following approach for schedule development: Copy Milestone level plan from Project"See full answer

    Software Engineer
    Program Sense
  • Dropbox logoAsked at Dropbox 

    "Project plan --> Define the project scope, timeline, resources, risks and stakeholders. Define the project scope and objectives Identify the business problems the project aims to solve. Align on goals, deliverables and success criteria. Document in-scope and out-of-scope items. Identify Stakeholders Develop the work breakdown structure Break the project into manageable tasks and milestones. Define dependencies. Decide the project management met"

    Anonymous Dingo - "Project plan --> Define the project scope, timeline, resources, risks and stakeholders. Define the project scope and objectives Identify the business problems the project aims to solve. Align on goals, deliverables and success criteria. Document in-scope and out-of-scope items. Identify Stakeholders Develop the work breakdown structure Break the project into manageable tasks and milestones. Define dependencies. Decide the project management met"See full answer

    Program Sense
  • "Thanks for the question - What is your definition of the challenges - There can be multiple gaps and opportunities - Is there any specific opportunity you want me to look - Are free to assume My understanding of online purchase can be card not present or e-commerce - any specific you want to look Region - USA Goal - Feel free to assume - Trust Timeline - Say about a year Take a pause - Segment 1 - Online shoppers only Segment 2 - Strictly Brick and Mortar Segment 3 - S"

    Product V. - "Thanks for the question - What is your definition of the challenges - There can be multiple gaps and opportunities - Is there any specific opportunity you want me to look - Are free to assume My understanding of online purchase can be card not present or e-commerce - any specific you want to look Region - USA Goal - Feel free to assume - Trust Timeline - Say about a year Take a pause - Segment 1 - Online shoppers only Segment 2 - Strictly Brick and Mortar Segment 3 - S"See full answer

    Product Design
    Product Strategy
  • Stripe logoAsked at Stripe 

    "Several reasons why eCommerce will capture a trillion$ market in the next 10 years. User consumption habits have changed and the pandemic has only accelerated user behavior to order online from the convenience of buying from home. The supply chain is becoming better with partnerships and digital products are making shipping and deliveries much more convenient. Many companies investing in automated shipping vehicles eg Drone deliveries and in near future we might see automated driving v"

    Raunak K. - "Several reasons why eCommerce will capture a trillion$ market in the next 10 years. User consumption habits have changed and the pandemic has only accelerated user behavior to order online from the convenience of buying from home. The supply chain is becoming better with partnerships and digital products are making shipping and deliveries much more convenient. Many companies investing in automated shipping vehicles eg Drone deliveries and in near future we might see automated driving v"See full answer

    Product Design
    Product Strategy
  • Stripe logoAsked at Stripe 

    "I'd start by trying to understand the high level north star for Stripe Atlas with respect to Stripe's mission of increasing the GDP of the internet. Example north star: Increase successfully created startups MoM, YoY I'd ask the interviewer to confirm my understanding on the following: Atlas allows entrepreneurs to easily launch their startups within a matter of only a few days from signup to receiving a tax ID. I would take this understanding and understand the input metrics towards the n"

    Michelle D. - "I'd start by trying to understand the high level north star for Stripe Atlas with respect to Stripe's mission of increasing the GDP of the internet. Example north star: Increase successfully created startups MoM, YoY I'd ask the interviewer to confirm my understanding on the following: Atlas allows entrepreneurs to easily launch their startups within a matter of only a few days from signup to receiving a tax ID. I would take this understanding and understand the input metrics towards the n"See full answer

    Execution
    Analytical
Showing 2961-2980 of 3949