"What about exploiting the hash set and that is it?
def smallestSubstring(s: str, t: str) -> str:
if len(t) > len(s):
return ""
r = len(s) - 1
not_found = True
while r > 0 and not_found:
subs_set = set(s[0:r + 1])
for c in t:
if not c in subs_set:
not_found = False
if not_found:
r -= 1
else:
r += 1
l = 0
not_found = True
while l < r and not_"
Gabriele G. - "What about exploiting the hash set and that is it?
def smallestSubstring(s: str, t: str) -> str:
if len(t) > len(s):
return ""
r = len(s) - 1
not_found = True
while r > 0 and not_found:
subs_set = set(s[0:r + 1])
for c in t:
if not c in subs_set:
not_found = False
if not_found:
r -= 1
else:
r += 1
l = 0
not_found = True
while l < r and not_"See full answer
"1) Start by clarifying your constraints - which side of the marketplace am I focusing on and what are they solving for? (e.g., minimize cost for hoster, maximize comfort for renter indoor etc.). Assuming this is a "dealer's choice" type response then proceed to step 2
2) Where to focus: which customer segment, which job-to-be-done, and why
I'd start by laying out segments on 2 dimensions: urban (think big cities, downtowns) and suburban (think suburbs, beach towns, mountains) areas focused on e"
Anonymous Spider - "1) Start by clarifying your constraints - which side of the marketplace am I focusing on and what are they solving for? (e.g., minimize cost for hoster, maximize comfort for renter indoor etc.). Assuming this is a "dealer's choice" type response then proceed to step 2
2) Where to focus: which customer segment, which job-to-be-done, and why
I'd start by laying out segments on 2 dimensions: urban (think big cities, downtowns) and suburban (think suburbs, beach towns, mountains) areas focused on e"See full answer
"THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"
Lea M. - "THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"See full answer
"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
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"If other org is not taking PM seriously, then following may be potential reasons:
They don't like the way PM communicates with them
They do not understand project goals
They do not understand requirements clearly
They are occupied with other high priority project
I think Project Manager did not prepare himself well before reaching out to org for resources.
He can use the following approach to get resources from a different org:
Good documentation: PM should capture the project"
Saket S. - "If other org is not taking PM seriously, then following may be potential reasons:
They don't like the way PM communicates with them
They do not understand project goals
They do not understand requirements clearly
They are occupied with other high priority project
I think Project Manager did not prepare himself well before reaching out to org for resources.
He can use the following approach to get resources from a different org:
Good documentation: PM should capture the project"See full answer
"Too Technical and too serious.
Show personality, they do not put on videos most times, so you won't see them, but they are watching you."
Oluwaseun F. - "Too Technical and too serious.
Show personality, they do not put on videos most times, so you won't see them, but they are watching you."See full answer
"Clarifying questions:
Are we taking about a personal parking lot or a public parking lot
Do we have an objective in head for this lot -> Make money? Public parking lot from govt body
Do we have a particular location in head for this -> basement, outside some building or on the roof
Are we particular about the number of vehicles it can take up?
Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers)
Taking a few assumptions:"
Anubhav A. - "Clarifying questions:
Are we taking about a personal parking lot or a public parking lot
Do we have an objective in head for this lot -> Make money? Public parking lot from govt body
Do we have a particular location in head for this -> basement, outside some building or on the roof
Are we particular about the number of vehicles it can take up?
Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers)
Taking a few assumptions:"See full answer
"An effective PM should be clear about the vision and mission. Faciliate the team to achieve its goals by unblocking the obstacles. Smart enought to figure out Risks and should plan effectively to mitigate the risks. Good listener and communicator .Should be able to empower the team , appreciative ,positive minded and with empathy for everyone"
D B. - "An effective PM should be clear about the vision and mission. Faciliate the team to achieve its goals by unblocking the obstacles. Smart enought to figure out Risks and should plan effectively to mitigate the risks. Good listener and communicator .Should be able to empower the team , appreciative ,positive minded and with empathy for everyone"See full answer
"In my role as a Product Manager at a B2B SaaS startup, I encountered a situation where we were facing a critical issue with one of our key features. Our engineering team proposed a quick fix that would address the immediate problem, but it was clear that this solution wouldn't provide a sustainable long-term solution. Despite the pressure to implement the short-term fix and resolve the issue swiftly, I decided to advocate for a more comprehensive, long-term strategy that would address the root c"
Shivam B. - "In my role as a Product Manager at a B2B SaaS startup, I encountered a situation where we were facing a critical issue with one of our key features. Our engineering team proposed a quick fix that would address the immediate problem, but it was clear that this solution wouldn't provide a sustainable long-term solution. Despite the pressure to implement the short-term fix and resolve the issue swiftly, I decided to advocate for a more comprehensive, long-term strategy that would address the root c"See full answer
"3 fav products. Pick 1 and 10X it.
My criteria:
Add value to my life
Easy to use
My fav products:
Pinterest
Youtube
Google Docs
How would you 10X Youtube?
Interviewee: 10X revenue? 10X user base? 10X sales?
Interviewer: you can decide
Interviewee: Ok, let’s discuss Youtube's mission and goal and we will determine which direction to proceed after
Youtube: Global product. Has Red,Music,Kids,Premium. Subscription and Ads. 5B videos watched per day. 80% market share
Missio"
Cameron P. - "3 fav products. Pick 1 and 10X it.
My criteria:
Add value to my life
Easy to use
My fav products:
Pinterest
Youtube
Google Docs
How would you 10X Youtube?
Interviewee: 10X revenue? 10X user base? 10X sales?
Interviewer: you can decide
Interviewee: Ok, let’s discuss Youtube's mission and goal and we will determine which direction to proceed after
Youtube: Global product. Has Red,Music,Kids,Premium. Subscription and Ads. 5B videos watched per day. 80% market share
Missio"See full answer
"1) create the experimental and control groups.
2) Then calculate the proportion (mean) of the true conversion rates for both groups using the convert column which counts True as 1 and False as 0. This is their conversion rates
3) calculate the statistic of the two groups by subtracting the proportion and standardizing.
4) get the p-value and compare with 0.05.
5) conclude the difference is statistically significant if the p-value is less than 0.05 otherwise no statistical difference"
Frank A. - "1) create the experimental and control groups.
2) Then calculate the proportion (mean) of the true conversion rates for both groups using the convert column which counts True as 1 and False as 0. This is their conversion rates
3) calculate the statistic of the two groups by subtracting the proportion and standardizing.
4) get the p-value and compare with 0.05.
5) conclude the difference is statistically significant if the p-value is less than 0.05 otherwise no statistical difference"See full answer
"It was a Finetech product to help people remove credit card limited balance issue.
The product is design especially for business man who usually use they credit card to make purchase or big transaction.
Problem
Credit card have a limit amont of money they can support. it is very difficult to handle situation where people want to make a transaction that goes beyond their supported credit card balance. Having many credit card is not easy to manage and go to trip with a huge amont of money i"
Adegnika O. - "It was a Finetech product to help people remove credit card limited balance issue.
The product is design especially for business man who usually use they credit card to make purchase or big transaction.
Problem
Credit card have a limit amont of money they can support. it is very difficult to handle situation where people want to make a transaction that goes beyond their supported credit card balance. Having many credit card is not easy to manage and go to trip with a huge amont of money i"See full answer
"· Sometimes I have to step back and think through and respond later, not giving decision then and there
· Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"
BePostive - "· Sometimes I have to step back and think through and respond later, not giving decision then and there
· Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"See full answer
"Clarifying questions:
Who is launching this service (some options that come to mind are):
Google ? If yes, why? Will it be a new product within the Google ecosystem or feature within existing and relevant Google Products (google maps, search)
Startup? What is the current status of the startup/service designing it for hotels
Uber/Taxi service providers - Trying to diversify their revenue stream/ add new level of engagement?
Hospitality companies/hotels?
B"
Deepti D. - "Clarifying questions:
Who is launching this service (some options that come to mind are):
Google ? If yes, why? Will it be a new product within the Google ecosystem or feature within existing and relevant Google Products (google maps, search)
Startup? What is the current status of the startup/service designing it for hotels
Uber/Taxi service providers - Trying to diversify their revenue stream/ add new level of engagement?
Hospitality companies/hotels?
B"See full answer
"Clarifying Questions:
How far is the retirement home from the convenience store?
What part of the world is this convenience store located in?
Will this be designed for Boomer generation or later generations when they retire?
We assume that the convenience store is right next door, is located in the US in a very suburban location, and is designed for the Boomer generation that is retired/retiring
Users:
We assume retirement homes, or assisted living facilities take in folks who"
Anonymous Parakeet - "Clarifying Questions:
How far is the retirement home from the convenience store?
What part of the world is this convenience store located in?
Will this be designed for Boomer generation or later generations when they retire?
We assume that the convenience store is right next door, is located in the US in a very suburban location, and is designed for the Boomer generation that is retired/retiring
Users:
We assume retirement homes, or assisted living facilities take in folks who"See full answer