"find total sum. assign that to rightsum
traverse from left to right: keep updating left sum and right sum, when they match return the index.
else if you reach end return -1 or not found"
Rahul J. - "find total sum. assign that to rightsum
traverse from left to right: keep updating left sum and right sum, when they match return the index.
else if you reach end return -1 or not found"See full answer
"No ,MSE is suitable for only regression modes. Although the logistic regression in Its name has regression , but it is a classification problem so MSE is not suitable for classification models like logistic regression."
1036 loknadh R. - "No ,MSE is suitable for only regression modes. Although the logistic regression in Its name has regression , but it is a classification problem so MSE is not suitable for classification models like logistic regression."See full answer
"We've identified the problem as a Design a Product question. Use the following framework for tackling these types of questions:
Ask Clarifying Questions
Identify users, behaviors, and pain points
State product goal
Identify current solutions
Brainstorm new solutions
Evaluate solutions
Measure success
Summarize
We'll go through each of these step by step.
Ask Clarifying Questions
The PM interview isn't about your ability to come up w"
Exponent - "We've identified the problem as a Design a Product question. Use the following framework for tackling these types of questions:
Ask Clarifying Questions
Identify users, behaviors, and pain points
State product goal
Identify current solutions
Brainstorm new solutions
Evaluate solutions
Measure success
Summarize
We'll go through each of these step by step.
Ask Clarifying Questions
The PM interview isn't about your ability to come up w"See full answer
"The best and average of both the algorithms is same which is O(nlog(n)), but the worst time complexity of QuickSort is O(n^2){a case where all the elements are sorted in opposite to the fashion/order you want} while the worst TC for merge sort remains the same O(nlog(n)).
and The SC for QS=O(logn) and MS=O(n)."
The_ A. - "The best and average of both the algorithms is same which is O(nlog(n)), but the worst time complexity of QuickSort is O(n^2){a case where all the elements are sorted in opposite to the fashion/order you want} while the worst TC for merge sort remains the same O(nlog(n)).
and The SC for QS=O(logn) and MS=O(n)."See full answer
"This is a Strategy Question, which asks you to justify high-level business decisions and strategy. There's no set formula, but we recommend proposing at least three different reasons to answer the question.
Let's go over one possible solution:
> There's definitely a lot we could talk about, but I'll try to stay as focused as possible and talk about the three biggest ways it could have affected HelloFresh the most.
Fulfillment Issues from Rapid Growth
> I first imagine that HelloFresh expe"
Exponent - "This is a Strategy Question, which asks you to justify high-level business decisions and strategy. There's no set formula, but we recommend proposing at least three different reasons to answer the question.
Let's go over one possible solution:
> There's definitely a lot we could talk about, but I'll try to stay as focused as possible and talk about the three biggest ways it could have affected HelloFresh the most.
Fulfillment Issues from Rapid Growth
> I first imagine that HelloFresh expe"See full answer
"I conducted an in-depth analysis of FedEx's business model, focusing on their primary operations which encompass pickup, transit, and delivery. I evaluated potential metrics across each stage, aiming to determine the most pertinent one for operational insights.
Initially, I proposed using the Fulfillment Ratio, calculated as the number of successful deliveries divided by the expected deliveries, to measure performance. However, the interviewer pointed out this metric's retrospective nature and"
Yatin K. - "I conducted an in-depth analysis of FedEx's business model, focusing on their primary operations which encompass pickup, transit, and delivery. I evaluated potential metrics across each stage, aiming to determine the most pertinent one for operational insights.
Initially, I proposed using the Fulfillment Ratio, calculated as the number of successful deliveries divided by the expected deliveries, to measure performance. However, the interviewer pointed out this metric's retrospective nature and"See full answer
"This question is quite straightforward. The key to this is to be concise and specific.
> An endpoint is essentially the destination of an API call. The endpoint returns specific data depending on which endpoint was called. An example of a POST request is when a user signs up or logs in. Some data is posted and validated on the server (like a login email and password). An example of a GET request is when viewing another user's page. There's likely an endpoint that gets data like the person's name"
Exponent - "This question is quite straightforward. The key to this is to be concise and specific.
> An endpoint is essentially the destination of an API call. The endpoint returns specific data depending on which endpoint was called. An example of a POST request is when a user signs up or logs in. Some data is posted and validated on the server (like a login email and password). An example of a GET request is when viewing another user's page. There's likely an endpoint that gets data like the person's name"See full answer
"Effective loss functions for computer vision models vary depending on the specific task, some commonly used loss functions for different tasks:
Classification
Cross-Entropy Loss:Used for multi-class classification tasks.
Measures the difference between the predicted probability distribution and the true distribution.
Binary Cross-Entropy Loss:Used for binary classification tasks.
Evaluates the performance of a model by comparing predicted probabilities to the true binary labe"
Shibin P. - "Effective loss functions for computer vision models vary depending on the specific task, some commonly used loss functions for different tasks:
Classification
Cross-Entropy Loss:Used for multi-class classification tasks.
Measures the difference between the predicted probability distribution and the true distribution.
Binary Cross-Entropy Loss:Used for binary classification tasks.
Evaluates the performance of a model by comparing predicted probabilities to the true binary labe"See full answer