"Here is my first shot at it. Please excuse formatting.
To find the maximum depth of the dependencies given a list of nodes, each having a unique string id and a list of subnodes it depends on, you can perform a depth-first search (DFS) to traverse the dependency graph. Here's how you can implement this:
Represent the nodes and their dependencies using a dictionary.
Perform a DFS on each node to find the maximum depth of the dependencies.
Keep track of the maximum depth encountered dur"
Tes d H. - "Here is my first shot at it. Please excuse formatting.
To find the maximum depth of the dependencies given a list of nodes, each having a unique string id and a list of subnodes it depends on, you can perform a depth-first search (DFS) to traverse the dependency graph. Here's how you can implement this:
Represent the nodes and their dependencies using a dictionary.
Perform a DFS on each node to find the maximum depth of the dependencies.
Keep track of the maximum depth encountered dur"See full answer
"I would define success by first figuring out what our goal is by building the reels feature. Are we trying to increase DAUs? Increase enagement? Etc... For the sake of this, I think to define success it makes most sense to see if there is an increase in the amount of time users are spending on instagram. If time spent per user increases, it is likely that ad spend can increase and in turn increases instagram's reveue.
We need to be sure that there are guard rails in place and make sure that by"
Josh L. - "I would define success by first figuring out what our goal is by building the reels feature. Are we trying to increase DAUs? Increase enagement? Etc... For the sake of this, I think to define success it makes most sense to see if there is an increase in the amount of time users are spending on instagram. If time spent per user increases, it is likely that ad spend can increase and in turn increases instagram's reveue.
We need to be sure that there are guard rails in place and make sure that by"See full answer
"Actually, all experiences in my life have been important so far. I say this with conviction since i consider myself a highly introspective person and often find ways to make myself more efficient. So, retrospection becomes very important for me. Still amongst them, the most valuable experience for me during my entrance exam preparation. I wasn't a good scorer and despite studying for the entire day couldnt score marks. It my self confidence to plummet. In the final days of the exam, i just told"
Trusha M. - "Actually, all experiences in my life have been important so far. I say this with conviction since i consider myself a highly introspective person and often find ways to make myself more efficient. So, retrospection becomes very important for me. Still amongst them, the most valuable experience for me during my entrance exam preparation. I wasn't a good scorer and despite studying for the entire day couldnt score marks. It my self confidence to plummet. In the final days of the exam, i just told"See full answer
"A/B testing is used when one wishes to only test minor front-end changes on the website.
Consider a scenario where an organization wishes to make significant changes to its existing page, such as wants to create an entirely new version of an existing web page URL and wants to analyze which one performs better. Obviously, the organization will not be willing to touch the existing web page design for comparison purposes.
In the above scenario, performing Split URL testing would be beneficial. T"
Sangeeta P. - "A/B testing is used when one wishes to only test minor front-end changes on the website.
Consider a scenario where an organization wishes to make significant changes to its existing page, such as wants to create an entirely new version of an existing web page URL and wants to analyze which one performs better. Obviously, the organization will not be willing to touch the existing web page design for comparison purposes.
In the above scenario, performing Split URL testing would be beneficial. T"See full answer
Statistics & Experimentation
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"Me: First let's clarify the user journey of the Facebook dating app
Interviewer:
Me: Do we know how success is defined in this context?
Interviewer: Please figure that out yourself
Me: Ok let's first discuss the mission of Facebook and how Facebook dating app is part of that. Then lets brainstorm what the goals would be for Facebook Dating. That help us determine the user behavior and metrics we can create. Finally let's fi"
kkkt - "Me: First let's clarify the user journey of the Facebook dating app
Interviewer:
Me: Do we know how success is defined in this context?
Interviewer: Please figure that out yourself
Me: Ok let's first discuss the mission of Facebook and how Facebook dating app is part of that. Then lets brainstorm what the goals would be for Facebook Dating. That help us determine the user behavior and metrics we can create. Finally let's fi"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"
Anjali M. - "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
"WHAT IS IMPORTANT TO CUSTOMER
VALUE TO THE CUSTOMER
IMPACT ON THE CUSTOMER
PRIORITIZE BASED ON THAT
the sales team wants Specific changes to customer - Value NPV etc
Client services want automation - Customer priority
"
Anonymous Mastodon - "WHAT IS IMPORTANT TO CUSTOMER
VALUE TO THE CUSTOMER
IMPACT ON THE CUSTOMER
PRIORITIZE BASED ON THAT
the sales team wants Specific changes to customer - Value NPV etc
Client services want automation - Customer priority
"See full answer
"Problem Statement: The Fibonacci sequence is defined as F(n) = F(n-1) + F(n-2) with F(0) = 1 and F(1) = 1.
The solution is given in the problem statement itself.
If the value of n = 0, return 1.
If the value of n = 1, return 1.
Otherwise, return the sum of data at (n - 1) and (n - 2).
Explanation: The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones, typically starting with 0 and 1.
Java Solution:
public static int fib(int n"
Rishi G. - "Problem Statement: The Fibonacci sequence is defined as F(n) = F(n-1) + F(n-2) with F(0) = 1 and F(1) = 1.
The solution is given in the problem statement itself.
If the value of n = 0, return 1.
If the value of n = 1, return 1.
Otherwise, return the sum of data at (n - 1) and (n - 2).
Explanation: The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones, typically starting with 0 and 1.
Java Solution:
public static int fib(int n"See full answer
"Was given 90 minutes with an exhaustive set of requirements to be implemented as a full-stack coding exercise. It was supposed to have a UX, a server and a database to store and retrieve data.
The IDE was supposed to be self-setup before the interview.
The panel asked questions on top of the implementation around decision making from a technical perspective"
Aman G. - "Was given 90 minutes with an exhaustive set of requirements to be implemented as a full-stack coding exercise. It was supposed to have a UX, a server and a database to store and retrieve data.
The IDE was supposed to be self-setup before the interview.
The panel asked questions on top of the implementation around decision making from a technical perspective"See full answer
"Clarification
What does showing ads mean ? Is it showing outside of the car as a mobile billboard or showing inside of the car on screens? —> Inside of the car / digital ads
What is our product strategy with Waymo. Do we want to get into the ride hailing business or license our tech —> To be defined by you
Do we have any near or long term revenue goals for this —> Get wide usage of Waymo tech and be a key driver in accelerating the adoption of self-driving cars accessible in the world"
stash - "Clarification
What does showing ads mean ? Is it showing outside of the car as a mobile billboard or showing inside of the car on screens? —> Inside of the car / digital ads
What is our product strategy with Waymo. Do we want to get into the ride hailing business or license our tech —> To be defined by you
Do we have any near or long term revenue goals for this —> Get wide usage of Waymo tech and be a key driver in accelerating the adoption of self-driving cars accessible in the world"See full answer
"MTBF is Mean time between failures. This is measured to figure out how reliable a system is by what is the gap between 2 failures. (Total time elapsed- Down time)/No of failures"
Kavya C. - "MTBF is Mean time between failures. This is measured to figure out how reliable a system is by what is the gap between 2 failures. (Total time elapsed- Down time)/No of failures"See full answer
"First, I would like to ask some clarifying questions. Are we talking about the business metrics dashboard
or health metrics(like response time)? - it is up to you
Do I understand right that Netflix is a subscription-based video streaming service for watchers?
So I know that they create original content for Netflix, but it is out of the scope of this question. - right
My approach will be to:
Define the business goal from Netflix’s mission
Break down the actions taken by users at each stage of the"
Yulia D. - "First, I would like to ask some clarifying questions. Are we talking about the business metrics dashboard
or health metrics(like response time)? - it is up to you
Do I understand right that Netflix is a subscription-based video streaming service for watchers?
So I know that they create original content for Netflix, but it is out of the scope of this question. - right
My approach will be to:
Define the business goal from Netflix’s mission
Break down the actions taken by users at each stage of the"See full answer
"A much better solution than the one in the article, below:
It looks like the ones writing articles here in Javascript do not understand the time/space complexity of javascript methods.
shift, splice, sort, etc... In the solution article you have a shift and a sort being done inside a while, that is, the multiplication of Ns.
My solution, below, iterates through the list once and then sorts it, separately. It´s O(N+Log(N))
class ListNode {
constructor(val = 0, next = null) {
th"
Guilherme F. - "A much better solution than the one in the article, below:
It looks like the ones writing articles here in Javascript do not understand the time/space complexity of javascript methods.
shift, splice, sort, etc... In the solution article you have a shift and a sort being done inside a while, that is, the multiplication of Ns.
My solution, below, iterates through the list once and then sorts it, separately. It´s O(N+Log(N))
class ListNode {
constructor(val = 0, next = null) {
th"See full answer
"Company Mission: To Organize the World's Information
Clarify: What type of product are we looking to build? Software, Hardware?
-> Hardware
Makes sense since Google has a strong software stack including Android TV, which is a huge business by Firestick & Nvidia Shield, as well as Chinese based hardware implementations.
Is there any restrictions for this type of approach, or are we free to go around any way we'd like?
-> You're free to take any approach you'd like.
Google has a strong c"
jantheman88 - "Company Mission: To Organize the World's Information
Clarify: What type of product are we looking to build? Software, Hardware?
-> Hardware
Makes sense since Google has a strong software stack including Android TV, which is a huge business by Firestick & Nvidia Shield, as well as Chinese based hardware implementations.
Is there any restrictions for this type of approach, or are we free to go around any way we'd like?
-> You're free to take any approach you'd like.
Google has a strong c"See full answer
"Objective:
Proposal for expanding the service offerings for small restaurants and local cafes. The objective is to enhance the Instacart Business platform by integrating local vendors (Speciality Food & Beverage Business Units) to increase product selection and improve supply chain efficiencies for business customers.
Market Focus:
The target market includes food service establishments characterized by their need for distinct, locally sourced ingredients and their struggles wi"
realkimchi - "Objective:
Proposal for expanding the service offerings for small restaurants and local cafes. The objective is to enhance the Instacart Business platform by integrating local vendors (Speciality Food & Beverage Business Units) to increase product selection and improve supply chain efficiencies for business customers.
Market Focus:
The target market includes food service establishments characterized by their need for distinct, locally sourced ingredients and their struggles wi"See full answer
"We have to work with the c-suite to understood the direct quartly outcomes or goals. This could be our epic and then we try to break that down into business value and complexity . This will allow us to prioritize whats next.
From there we can structure a mvp to cover maybe some of these areas to understand the estimation of this work. After the first couple weeks we can structure a roadmap and then define when"
Howard H. - "We have to work with the c-suite to understood the direct quartly outcomes or goals. This could be our epic and then we try to break that down into business value and complexity . This will allow us to prioritize whats next.
From there we can structure a mvp to cover maybe some of these areas to understand the estimation of this work. After the first couple weeks we can structure a roadmap and then define when"See full answer