"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
"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
"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
"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
"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
"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
"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
"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
"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
"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
"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
"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