"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
"Clarifying
When we say cloud gaming, we refer to a video gaming experience using cloud computing, right? Assumption: Yes.
Understanding of cloud computing first. I'll use some analogies:
Imagine you are looking to do heavy computing but don't have a powerful CPU and GPU.
CPU and GPU are like your big calculators.
You can buy a powerful CPU and GPU, but problems:
It costs a lot to buy.
It costs a lot to run.
You don't need it 24-7.
You are not a un"
Darpan D. - "Clarifying
When we say cloud gaming, we refer to a video gaming experience using cloud computing, right? Assumption: Yes.
Understanding of cloud computing first. I'll use some analogies:
Imagine you are looking to do heavy computing but don't have a powerful CPU and GPU.
CPU and GPU are like your big calculators.
You can buy a powerful CPU and GPU, but problems:
It costs a lot to buy.
It costs a lot to run.
You don't need it 24-7.
You are not a un"See full answer
"Lyft's mission is to improve people's lives through better transportation. This includes economic opportunities, convenience as well as social impact.
As a clarifying question - I will confirm that I was designing this for fully deaf drivers who can't hear and speak. They use visual signals to communicate with the people in their environment.
Goal here is to help provide such drivers economic opportunities while increasing the ride-share supply and hence bring better customer experience (low"
Praveen - "Lyft's mission is to improve people's lives through better transportation. This includes economic opportunities, convenience as well as social impact.
As a clarifying question - I will confirm that I was designing this for fully deaf drivers who can't hear and speak. They use visual signals to communicate with the people in their environment.
Goal here is to help provide such drivers economic opportunities while increasing the ride-share supply and hence bring better customer experience (low"See full answer
"function getDifferentNumber(arr) {
// your code goes here
const n = arr.length;
//Define Max Integer
const MAX_INT = Math.pow(2, 31) - 1;
//Coppy arr to arr1 then sort arr1.
const arr1 = arr;
arr1.sort(function(a,b) {return a -b});
// Put arr1 in Set to optimize lo
const uniqueSet = new Set(arr1);
console.log(uniqueSet);
// Check for the smallest nonnegative integer not in the array
for (let i = 0; i < n; i++) {
if (!uniqueSet.has(i)) {
return i;
}
}
if(n<MAX_INT) return n+1;
else return -1;
}"
Anonymous Hare - "function getDifferentNumber(arr) {
// your code goes here
const n = arr.length;
//Define Max Integer
const MAX_INT = Math.pow(2, 31) - 1;
//Coppy arr to arr1 then sort arr1.
const arr1 = arr;
arr1.sort(function(a,b) {return a -b});
// Put arr1 in Set to optimize lo
const uniqueSet = new Set(arr1);
console.log(uniqueSet);
// Check for the smallest nonnegative integer not in the array
for (let i = 0; i < n; i++) {
if (!uniqueSet.has(i)) {
return i;
}
}
if(n<MAX_INT) return n+1;
else return -1;
}"See full answer
Data Structures & Algorithms
Coding
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"In one of the projects I managed, one team member was slipping each of his task's ETAs several times, citing different reasons, and communicating the delay after it already happened. The delay seemed disproportional to the reasons thereof. I first collected sufficient historical data to confirm that this was a pattern, and similar circumstances were faced by other team members, but they were managing to still keep their ETAs.
Then I had a talk with the person, and showed him the data. I also ex"
Surekha G. - "In one of the projects I managed, one team member was slipping each of his task's ETAs several times, citing different reasons, and communicating the delay after it already happened. The delay seemed disproportional to the reasons thereof. I first collected sufficient historical data to confirm that this was a pattern, and similar circumstances were faced by other team members, but they were managing to still keep their ETAs.
Then I had a talk with the person, and showed him the data. I also ex"See full answer
"depending on project phase, apply various methodologies.
scrum for app dev, waterfall for data migration, Testing (TDD for dev, FUT FiT for manual, UAT) , OCM has it own methodology ."
Sayee M. - "depending on project phase, apply various methodologies.
scrum for app dev, waterfall for data migration, Testing (TDD for dev, FUT FiT for manual, UAT) , OCM has it own methodology ."See full answer
"Number of visits to the site had increased, so total reservations infact went up, but conversion was down due to more users visiting, due to a promotion offered by the company or may be due to more ad entry points, social media, friend recommendations etc."
IamaPM - "Number of visits to the site had increased, so total reservations infact went up, but conversion was down due to more users visiting, due to a promotion offered by the company or may be due to more ad entry points, social media, friend recommendations etc."See full answer
"Measure the success of SnapMap
Clarifying question
Snap is the feature which is visible on right swipe on snap chat showing map and location of your friends right?
Do we have any specific goal in mind or we want to decide the overall success of the feature?
Mission - Help users be connected with their friends and family and be updated about them. That is why the main medium of exchange is photos or videos in Snapchat which keeps people updated which actually putting things in words.
Goal"
Namrata L. - "Measure the success of SnapMap
Clarifying question
Snap is the feature which is visible on right swipe on snap chat showing map and location of your friends right?
Do we have any specific goal in mind or we want to decide the overall success of the feature?
Mission - Help users be connected with their friends and family and be updated about them. That is why the main medium of exchange is photos or videos in Snapchat which keeps people updated which actually putting things in words.
Goal"See full answer
"Just to preface - I've actually worked in the non-profit space previously, so I have some experience in this problem area.
Clarifying questions: Is this within the Facebook app itself/integrations across the FoA’s ? Or is this going to be a standalone product?
Assume: Charity function built within Facebook.
Clarifying Question: Are we okay to constrain this to the US region? There may be tax implications outside of the US we aren’t strongly familiar with and so easier to focus on U"
Anonymous Pelican - "Just to preface - I've actually worked in the non-profit space previously, so I have some experience in this problem area.
Clarifying questions: Is this within the Facebook app itself/integrations across the FoA’s ? Or is this going to be a standalone product?
Assume: Charity function built within Facebook.
Clarifying Question: Are we okay to constrain this to the US region? There may be tax implications outside of the US we aren’t strongly familiar with and so easier to focus on U"See full answer
"This is a Diagnosis problem. We've gone over diagnosis problems in the past, but most are centered around usage. Even though this is about retention - do not be alarmed. We can still follow the TROPIC method to create a plan to thoroughly diagnose the issue:
Ask clarifying questions
List potential high level reasons
Gather Context (TROPIC)Time
Region
Other features / products (internal)
Platform
Industry / Competition
Cannibalization
**Establish a theory of proba"
Exponent - "This is a Diagnosis problem. We've gone over diagnosis problems in the past, but most are centered around usage. Even though this is about retention - do not be alarmed. We can still follow the TROPIC method to create a plan to thoroughly diagnose the issue:
Ask clarifying questions
List potential high level reasons
Gather Context (TROPIC)Time
Region
Other features / products (internal)
Platform
Industry / Competition
Cannibalization
**Establish a theory of proba"See full answer
"Clarifying Qs:
What are we building the Google campus for on the moon? We are the Google X team and always want to move people forward and want to be the first private entity on the moon
Are we trying to build for astronauts or our employees or someone else? This will be for employees
Do we already have a location on the moon and we're expanding or will this be the first one ever? This is the first one ever.
For us to answer this question, we'll want to discuss Google's mission, us"
Angela - "Clarifying Qs:
What are we building the Google campus for on the moon? We are the Google X team and always want to move people forward and want to be the first private entity on the moon
Are we trying to build for astronauts or our employees or someone else? This will be for employees
Do we already have a location on the moon and we're expanding or will this be the first one ever? This is the first one ever.
For us to answer this question, we'll want to discuss Google's mission, us"See full answer
"with login_data as (
select *
from useractivitylog
where activity_type = 'LOGIN'
)
,cte as (
select userid, timestamp as currentlogin
,lag(timestamp,1,timestamp) over (partition by user_id order by timestamp asc)
as previous_login,
round((julianday(timestamp) - julianday(lag(timestamp,1,timestamp) over (partition by user_id order by timestamp asc))) * 24 * 60)
as minutes_elapsed
from login_data
)
select * from cte where currentlogin previouslogin;"
Kedar W. - "with login_data as (
select *
from useractivitylog
where activity_type = 'LOGIN'
)
,cte as (
select userid, timestamp as currentlogin
,lag(timestamp,1,timestamp) over (partition by user_id order by timestamp asc)
as previous_login,
round((julianday(timestamp) - julianday(lag(timestamp,1,timestamp) over (partition by user_id order by timestamp asc))) * 24 * 60)
as minutes_elapsed
from login_data
)
select * from cte where currentlogin previouslogin;"See full answer
"This is a very interesting question. First, I would like to ask a few clarifying questions about the premise, as I am not a bird expert! (pause for polite chuckle.)
For the purposes of this question, I am going to assume some priors about you mean when you say "survival" and "adaptation". If we are discussing these in the evolutionary sense, it's very difficult to understand the time scale and actual causality that would be needed to bring about any sort of assessment of how this one aspect of"
Tyler V. - "This is a very interesting question. First, I would like to ask a few clarifying questions about the premise, as I am not a bird expert! (pause for polite chuckle.)
For the purposes of this question, I am going to assume some priors about you mean when you say "survival" and "adaptation". If we are discussing these in the evolutionary sense, it's very difficult to understand the time scale and actual causality that would be needed to bring about any sort of assessment of how this one aspect of"See full answer
"def getcheapestcost(rootNode):
\# need to do DFS for each branch
\# but this can be done recursively
n = len(rootNode.children)
if n == 0:
return 0
else:
min_cost = float('inf')
for i in range(len(n)):
tempcost = getcheapest_cost(rootNode.children[i])
if (tempcost < mincost):
mincost = tempcost
return min_cost + rootNode.cost
\# A node
class Node:
\# Constructor to create a new node
def init\(self, cost):
self.cost = cost
self.children = []
self.parent = None"
Anonymous Owl - "def getcheapestcost(rootNode):
\# need to do DFS for each branch
\# but this can be done recursively
n = len(rootNode.children)
if n == 0:
return 0
else:
min_cost = float('inf')
for i in range(len(n)):
tempcost = getcheapest_cost(rootNode.children[i])
if (tempcost < mincost):
mincost = tempcost
return min_cost + rootNode.cost
\# A node
class Node:
\# Constructor to create a new node
def init\(self, cost):
self.cost = cost
self.children = []
self.parent = None"See full answer