"Before I jump in, will this product be part of the FB ecosystem? If it's up to me, although I think wine has a great social element and is shared when people are connecting...I would hesitate to create a product that promotes alcohol consumption on FB. So I would choose to have it live outside of FB.
With that, let me start by making sure I understand the product correctly, talk about some metrics we can target. Then we can think through who our users are and outline some of their needs. Final"
Anonymous Sparrow - "Before I jump in, will this product be part of the FB ecosystem? If it's up to me, although I think wine has a great social element and is shared when people are connecting...I would hesitate to create a product that promotes alcohol consumption on FB. So I would choose to have it live outside of FB.
With that, let me start by making sure I understand the product correctly, talk about some metrics we can target. Then we can think through who our users are and outline some of their needs. Final"See full answer
"Food delivery apps : Food delivery apps are clear example of demand and supply functions, Both end need to monitored closely.
Ecosystem : Order placer, Restaurant and Food delivery Platform
Value :
Order placer find value when they can order food at home from their fav restaurants. Restaurant find value when they make sell via order coming in and probably good reviews which marks future growth.
Food delivery platform when orders are being placed.
North star metrics : # of order delivered
Bre"
Aeshvarya J. - "Food delivery apps : Food delivery apps are clear example of demand and supply functions, Both end need to monitored closely.
Ecosystem : Order placer, Restaurant and Food delivery Platform
Value :
Order placer find value when they can order food at home from their fav restaurants. Restaurant find value when they make sell via order coming in and probably good reviews which marks future growth.
Food delivery platform when orders are being placed.
North star metrics : # of order delivered
Bre"See full answer
"Ask my manager how urgent is my task and why it should be done if needed. If its urgent enough and I can’t wait, communicate with team explaining what goals going to be achieved by implementing and why its important"
Anonymous Starfish - "Ask my manager how urgent is my task and why it should be done if needed. If its urgent enough and I can’t wait, communicate with team explaining what goals going to be achieved by implementing and why its important"See full answer
"I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"
Aditya S. - "I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"See full answer
"There is a faster approach that solves the problem in O(n) time:
def find_duplicates(arr1, arr2):
arr1 = set(arr1)
res = []
for num in arr2:
if num in arr1:
res.append(num)
return res
`"
Victor H. - "There is a faster approach that solves the problem in O(n) time:
def find_duplicates(arr1, arr2):
arr1 = set(arr1)
res = []
for num in arr2:
if num in arr1:
res.append(num)
return res
`"See full answer
Data Engineer
Data Structures & Algorithms
+2 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"I was the PM of a beta product which started to be utilized by a range of users. Although I maintained and communicated a road map that outlined upcoming features at a high level, it wasn't very clear to the users whether certain features were going to be improved, certain low level features were going to be added, or whether these were on our radar at all. We don't have a large team to support call desk or a marketing team. I was having multiple, one of conversations with different users and c"
rocketscientist - "I was the PM of a beta product which started to be utilized by a range of users. Although I maintained and communicated a road map that outlined upcoming features at a high level, it wasn't very clear to the users whether certain features were going to be improved, certain low level features were going to be added, or whether these were on our radar at all. We don't have a large team to support call desk or a marketing team. I was having multiple, one of conversations with different users and c"See full answer
"WITH RECURSIVE fibonacci_series AS (
SELECT
1 AS n,
0 AS fib1,
1 AS fib2
UNION ALL
SELECT
n + 1 AS n,
fib2 AS fib1,
fib1 + fib2 AS fib2
FROM fibonacci_series
WHERE n < 20 -- Limit the series to 20 numbers
)
SELECT
n,
fib1 AS fib
FROM fibonacci_series
ORDER BY n;
`"
Yashasvi V. - "WITH RECURSIVE fibonacci_series AS (
SELECT
1 AS n,
0 AS fib1,
1 AS fib2
UNION ALL
SELECT
n + 1 AS n,
fib2 AS fib1,
fib1 + fib2 AS fib2
FROM fibonacci_series
WHERE n < 20 -- Limit the series to 20 numbers
)
SELECT
n,
fib1 AS fib
FROM fibonacci_series
ORDER BY n;
`"See full answer
"Without using a recursive approach, one can perform a post-order traversal by removing the parent nodes from the stack only if children were visited:
def diameterOfTree(root):
if root is None:
return 0
diameter = 0
stack = deque([[root, False]]) # (node, visited)
node_heights = {}
while stack:
curr_node, visited = stack[-1]
if visited:
heightleft = nodeheights.get(curr_node.left, 0)
heightright = nodehe"
Gabriele G. - "Without using a recursive approach, one can perform a post-order traversal by removing the parent nodes from the stack only if children were visited:
def diameterOfTree(root):
if root is None:
return 0
diameter = 0
stack = deque([[root, False]]) # (node, visited)
node_heights = {}
while stack:
curr_node, visited = stack[-1]
if visited:
heightleft = nodeheights.get(curr_node.left, 0)
heightright = nodehe"See full answer
"what is a task rabbit?
marketplace connecting users with freelance labor with local demand, allowing consumers to find help with everyday tasks, including furniture assembly, moving, delivery, and handy person work
Explain the User Flow in short:
User logs in, searches for the services, sorts, picks and books the service
the gig worker gets 24 hours to pick the request, accepted or declined
In case it is accepted then it is considered a "BOOKed"gig
what is the post booking experience?
-"
Anu S. - "what is a task rabbit?
marketplace connecting users with freelance labor with local demand, allowing consumers to find help with everyday tasks, including furniture assembly, moving, delivery, and handy person work
Explain the User Flow in short:
User logs in, searches for the services, sorts, picks and books the service
the gig worker gets 24 hours to pick the request, accepted or declined
In case it is accepted then it is considered a "BOOKed"gig
what is the post booking experience?
-"See full answer
"function serialize(list) {
for (let i=0; i 0xFFFF) {
throw new Exception(String ${list[i]} is too long!);
}
const prefix = String.fromCharCode(length);
list[i] = ${prefix}${list[i]};
console.log(list[i])
}
return list.join('');
}
function deserialize(s) {
let i=0;
const length = s.length;
const output = [];
while (i < length) {
"
Tiago R. - "function serialize(list) {
for (let i=0; i 0xFFFF) {
throw new Exception(String ${list[i]} is too long!);
}
const prefix = String.fromCharCode(length);
list[i] = ${prefix}${list[i]};
console.log(list[i])
}
return list.join('');
}
function deserialize(s) {
let i=0;
const length = s.length;
const output = [];
while (i < length) {
"See full answer
"python:
def justifywords(wordslist, width):
result = []
currlinechar_count = 0
curr_words = []
for word in words_list:
if curr_words:
space_needed = len(word) + 1 # Space needed for the word and a preceding space
else:
space_needed = len(word)
if currlinecharcount + spaceneeded > width:
result.append(' '.join(curr_words))
curr_words = [word]
currlinechar_count = len("
Anonymous Unicorn - "python:
def justifywords(wordslist, width):
result = []
currlinechar_count = 0
curr_words = []
for word in words_list:
if curr_words:
space_needed = len(word) + 1 # Space needed for the word and a preceding space
else:
space_needed = len(word)
if currlinecharcount + spaceneeded > width:
result.append(' '.join(curr_words))
curr_words = [word]
currlinechar_count = len("See full answer
"I will look at the % of overspend. If we are within 10%, I would not worry about it too much as most budgets factor in 10% contingency.
If Budget has exceeded 10% Threshold, I will use the following approach:
Deep dive on current status:
Understand % work completed/accepted
Analyse Schedule/Time progress
Understand Project Priority: P1/P2/P3
Resourcing: Internal/External
Complexity: Technical design (Number of Applications involved/ Number of Interfaces to be build e"
Saket S. - "I will look at the % of overspend. If we are within 10%, I would not worry about it too much as most budgets factor in 10% contingency.
If Budget has exceeded 10% Threshold, I will use the following approach:
Deep dive on current status:
Understand % work completed/accepted
Analyse Schedule/Time progress
Understand Project Priority: P1/P2/P3
Resourcing: Internal/External
Complexity: Technical design (Number of Applications involved/ Number of Interfaces to be build e"See full answer
"Clarifying questions: US-based? And All year including holidays?
First, what is the goal? Grow user base of Prime? Add revenue? I'd imagine it's to grow Prime base, as it's sticky and I imagine the Lifetime Value is higher as people will shop more if they have Prime.
Then, I would look at the users. What are they trying to do? They're purchasing gifts, and looking to gift wrap.
Take a look at the number of gift purchases total with gift receipt and no gift wrap. Call this X.
Break thi"
Manish E. - "Clarifying questions: US-based? And All year including holidays?
First, what is the goal? Grow user base of Prime? Add revenue? I'd imagine it's to grow Prime base, as it's sticky and I imagine the Lifetime Value is higher as people will shop more if they have Prime.
Then, I would look at the users. What are they trying to do? They're purchasing gifts, and looking to gift wrap.
Take a look at the number of gift purchases total with gift receipt and no gift wrap. Call this X.
Break thi"See full answer
"Clarifying/Requirements
House hunting is something I'm familiar with as someone who has rented, owned, and invested in the past. When I was looking for a place to live, the stage of where my life plays an important factor in determining how I look for a place.
Before I start, I would like to ask some clarifying questions for better context and understanding.
Did FB release any app related to house hunting - No, this would be a completely new feature.
Will this be a stand-alone or"
Christopher K. - "Clarifying/Requirements
House hunting is something I'm familiar with as someone who has rented, owned, and invested in the past. When I was looking for a place to live, the stage of where my life plays an important factor in determining how I look for a place.
Before I start, I would like to ask some clarifying questions for better context and understanding.
Did FB release any app related to house hunting - No, this would be a completely new feature.
Will this be a stand-alone or"See full answer