"
This is mostly correct and fairly fast.
My code has a bug somewhere where it fails on cases like the last case, where there are negative number on both ends of the array and the sums .
from collections import deque
debug = True # False
def prdbg(*x):
global debug
debug = True # False
if debug:
print(x)
else:
return
def max_sum(arr, start, end):
if type(arr) == type('''
"
Nathan B. - "
This is mostly correct and fairly fast.
My code has a bug somewhere where it fails on cases like the last case, where there are negative number on both ends of the array and the sums .
from collections import deque
debug = True # False
def prdbg(*x):
global debug
debug = True # False
if debug:
print(x)
else:
return
def max_sum(arr, start, end):
if type(arr) == type('''
"See full answer
"Me: Thanks for this. I have a few clarification questions- what would be the museum? Is this an art museum? A museum with ancient things from across the globe? Is there a specific theme?
Interviewer: You can consider that this is a modern art museum like MOMA in New York.
Me: Thanks -- and to make sure, do you have any additional specifications in what this product wants to tackle? Specifically, are we trying to make the museum experience better, the ticketing experience better or anything els"
Talles S. - "Me: Thanks for this. I have a few clarification questions- what would be the museum? Is this an art museum? A museum with ancient things from across the globe? Is there a specific theme?
Interviewer: You can consider that this is a modern art museum like MOMA in New York.
Me: Thanks -- and to make sure, do you have any additional specifications in what this product wants to tackle? Specifically, are we trying to make the museum experience better, the ticketing experience better or anything els"See full answer
"Let's define the term "everybody" to start with. I can think of a few things:
business users want it for certain feature Blackberry had
consumers (non-business) users want to use or keep using Blackberry for certain features
Interviewer: Business users wanted it.
Okay. My assumption would be that business users wanted it for the security features that Blackberry so famously promoted. Here, business users could be the organization buying the phone (such as HP or Google) or the actual e"
Ayan H. - "Let's define the term "everybody" to start with. I can think of a few things:
business users want it for certain feature Blackberry had
consumers (non-business) users want to use or keep using Blackberry for certain features
Interviewer: Business users wanted it.
Okay. My assumption would be that business users wanted it for the security features that Blackberry so famously promoted. Here, business users could be the organization buying the phone (such as HP or Google) or the actual e"See full answer
"I walked through the code for a react.js based tic-tac-toe game written in typescript. The goal was to find ways to improve the code/ suggest improvements. I missed some areas like where state was being updated directly rather than using React's setState. There were issues around clear and maintainable logic, adherence to React best practices."
Natalie C. - "I walked through the code for a react.js based tic-tac-toe game written in typescript. The goal was to find ways to improve the code/ suggest improvements. I missed some areas like where state was being updated directly rather than using React's setState. There were issues around clear and maintainable logic, adherence to React best practices."See full answer
"Clarification Questions:
Can we define and describe office ? my current office ( IT ) , or government offices, starup offices, etc
I assume we are desgining a refrigerator for my current office. It is an office with multiple floors with canteen on one of the floors. There is seating arrangement for around 200 - 300 on every floor. Generally there is maximum usage during lunch time and then snacks time since part of us dont have breakfast and dinner in office.
Is there any cost limitation"
Darshana W. - "Clarification Questions:
Can we define and describe office ? my current office ( IT ) , or government offices, starup offices, etc
I assume we are desgining a refrigerator for my current office. It is an office with multiple floors with canteen on one of the floors. There is seating arrangement for around 200 - 300 on every floor. Generally there is maximum usage during lunch time and then snacks time since part of us dont have breakfast and dinner in office.
Is there any cost limitation"See full answer
"This is a Design a Product question. For this, we'll want to follow the formula for success:
Ask clarifying questions
Identify user types, behaviors, and pain points
State the goal and use cases
List current solutions
Improvements / net new solutions
Evaluate and select solutions
Measure Success
Summarize
Ask clarifying questions
It's important to get clarity on anything if things are unclear. Since this ask is quite straightforward"
Exponent - "This is a Design a Product question. For this, we'll want to follow the formula for success:
Ask clarifying questions
Identify user types, behaviors, and pain points
State the goal and use cases
List current solutions
Improvements / net new solutions
Evaluate and select solutions
Measure Success
Summarize
Ask clarifying questions
It's important to get clarity on anything if things are unclear. Since this ask is quite straightforward"See full answer
"Start at 4.01 pm
Clarifying question:
A non-profit food bank is responsible for providing food to people who cannot afford it.
The food bank is engaged with world-level food problems, or is there a particular geography that gets all the focus?
Are we interested in particular demographics like only kids or only adults?
What is the goal of this food bank?
Objective: Coming up with a framework to prioritise different channels where this money can be spent to achieve the large goal that"
Anubhav A. - "Start at 4.01 pm
Clarifying question:
A non-profit food bank is responsible for providing food to people who cannot afford it.
The food bank is engaged with world-level food problems, or is there a particular geography that gets all the focus?
Are we interested in particular demographics like only kids or only adults?
What is the goal of this food bank?
Objective: Coming up with a framework to prioritise different channels where this money can be spent to achieve the large goal that"See full answer
"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
"Clarifying questions:
What do we mean by 'improve'? What part of Peloton's experience are we interested in improving?
We want to improve the experience of setting up Peloton equipment after a customer has received it from our transportation provider.
Is there a specific piece of equipment we're targeting? Bike, treadmill?
Bike
Why is Peloton interested in improving this part of the experience? What is the metric we are trying to drive?
We have learned that custo"
William W. - "Clarifying questions:
What do we mean by 'improve'? What part of Peloton's experience are we interested in improving?
We want to improve the experience of setting up Peloton equipment after a customer has received it from our transportation provider.
Is there a specific piece of equipment we're targeting? Bike, treadmill?
Bike
Why is Peloton interested in improving this part of the experience? What is the metric we are trying to drive?
We have learned that custo"See full answer