"Explore expanding beyond just two small roooms-- bigger rooms or a third room? Get insights from those who are teleporting about what the experience is like"
Kim L. - "Explore expanding beyond just two small roooms-- bigger rooms or a third room? Get insights from those who are teleporting about what the experience is like"See full answer
"My thought process below:
FB's mission: Connect with people - friends, family, and build communities.
Assumptions made:
Goal here is to increase user engagement with an FB product, not to monetize or gather new users, though they may be indirect side-effects
No blockers in terms of data or partnerships
Looking at mobile specifically
Classifying users
Trying a matrix structure of Interest vs Ability-to-engage.
1) Enthusiastic fans :: People who are super interested in the eve"
Sidharth N. - "My thought process below:
FB's mission: Connect with people - friends, family, and build communities.
Assumptions made:
Goal here is to increase user engagement with an FB product, not to monetize or gather new users, though they may be indirect side-effects
No blockers in terms of data or partnerships
Looking at mobile specifically
Classifying users
Trying a matrix structure of Interest vs Ability-to-engage.
1) Enthusiastic fans :: People who are super interested in the eve"See full answer
"I first clarified what he needed for the leaderboard meaning did he need a gaming leaderboard system, a stock market leaderboard system where the trades placed would be ranked in terms of values or a coding platform leaderboard where the users are ranked as per the points earned by solving the problem?
He answered that he wanted a multipurpose leaderboard system
He was specifically interested in the design of the api part
Explained him that assuming we had a flask api there would be a get re"
GalacticInterviewer - "I first clarified what he needed for the leaderboard meaning did he need a gaming leaderboard system, a stock market leaderboard system where the trades placed would be ranked in terms of values or a coding platform leaderboard where the users are ranked as per the points earned by solving the problem?
He answered that he wanted a multipurpose leaderboard system
He was specifically interested in the design of the api part
Explained him that assuming we had a flask api there would be a get re"See full answer
"Binary Search on the array and after than compare the numbers at low and the high pointers whichever is closest is the answer. Because after the binary search low will be pointing to a number which is immediate greater than x and high will be pointing to a number which is immediate lesser than x.
int low = 0;
int high = n-1;
while(low <= high){
int mid = (low + high) / 2;
if(x == arr[mid]) return mid; //if x is already present then it will be the closest
else if(x < arr[mid]) high"
Shashwat K. - "Binary Search on the array and after than compare the numbers at low and the high pointers whichever is closest is the answer. Because after the binary search low will be pointing to a number which is immediate greater than x and high will be pointing to a number which is immediate lesser than x.
int low = 0;
int high = n-1;
while(low <= high){
int mid = (low + high) / 2;
if(x == arr[mid]) return mid; //if x is already present then it will be the closest
else if(x < arr[mid]) high"See full answer
Software Engineer
Data Structures & Algorithms
+1 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"My clarifying questions :
what's the impact of the bug ? / responses : intermittent, no platform stability at risk, but a feature, many customer rely on this buggy feature
what's the estimation of the user impacted ? / responses : 65% of the users
how long to figure out a solution ? / reponses : 1 week
My action plan :
delay the publish of the release in order to protect the brand identity and customer trust
talk to the big customer to explain the situation with transparency and nego"
José N. - "My clarifying questions :
what's the impact of the bug ? / responses : intermittent, no platform stability at risk, but a feature, many customer rely on this buggy feature
what's the estimation of the user impacted ? / responses : 65% of the users
how long to figure out a solution ? / reponses : 1 week
My action plan :
delay the publish of the release in order to protect the brand identity and customer trust
talk to the big customer to explain the situation with transparency and nego"See full answer
"function isPalindrome(s, start, end) {
while (s[start] === s[end] && end >= start) {
start++;
end--;
}
return end <= start;
}
function longestPalindromicSubstring(s) {
let longestPalindrome = '';
for (let i=0; i < s.length; i++) {
let j = s.length-1;
while (s[i] !== s[j] && i <= j) {
j--;
}
if (s[i] === s[j]) {
if (isPalindrome(s, i, j)) {
const validPalindrome = s.substring(i, j+1"
Tiago R. - "function isPalindrome(s, start, end) {
while (s[start] === s[end] && end >= start) {
start++;
end--;
}
return end <= start;
}
function longestPalindromicSubstring(s) {
let longestPalindrome = '';
for (let i=0; i < s.length; i++) {
let j = s.length-1;
while (s[i] !== s[j] && i <= j) {
j--;
}
if (s[i] === s[j]) {
if (isPalindrome(s, i, j)) {
const validPalindrome = s.substring(i, j+1"See full answer
"Are we also considaring the office buildings or only houses? Both
So we know the NYC land area is 1254 sqkm
1 square kilometer = 247.105 acres that means 1254 sqkm will be = 309870 acr ( rounding)
So this is total space, in this say living area is 80% that means 80% * 309870 = 247896 acrs
In this 60% residential which will be 148738 acrs residential area and rest is 99158 acres are business blocks
Menas (148738/247) =602 sq km =602178 sq mtr residential and 401449 sq mtr for busine"
Indranil G. - "Are we also considaring the office buildings or only houses? Both
So we know the NYC land area is 1254 sqkm
1 square kilometer = 247.105 acres that means 1254 sqkm will be = 309870 acr ( rounding)
So this is total space, in this say living area is 80% that means 80% * 309870 = 247896 acrs
In this 60% residential which will be 148738 acrs residential area and rest is 99158 acres are business blocks
Menas (148738/247) =602 sq km =602178 sq mtr residential and 401449 sq mtr for busine"See full answer
"Depends on the kind of goals they are trying to pursue. I would clarify with the interviewer.
. if you work for say a fintech, and are trying to create say a real-estate app with company resources - no go
. if you want to write a book on management say while being an EM, then there's some wiggle room here. As long as you get the book approved by your IP team, should be ok
. if you want to work on a hackathon project on something tangentially related to your team, still ok as long as the concept"
Musa G. - "Depends on the kind of goals they are trying to pursue. I would clarify with the interviewer.
. if you work for say a fintech, and are trying to create say a real-estate app with company resources - no go
. if you want to write a book on management say while being an EM, then there's some wiggle room here. As long as you get the book approved by your IP team, should be ok
. if you want to work on a hackathon project on something tangentially related to your team, still ok as long as the concept"See full answer
"Equation = (# of phones sold in Africa every month * % pixel market share)
Africa population = 1.5 billion
Smartphone penetration = assume 50%
Assume smartphone penetrations grows 1% per year
Assume 2 year smartphone renewal cycle
Current smartphone population = 1.5B x 50% = 750M
Each year 50% of this populations gets a new phone = 375M
375M / 12 = ~31M per month
New smartphone population each year = 1.5B x 1% = 15M
15M / 12 = ~1 per month
31M + 1M = 32M smartphones sold per month
US mar"
Greg W. - "Equation = (# of phones sold in Africa every month * % pixel market share)
Africa population = 1.5 billion
Smartphone penetration = assume 50%
Assume smartphone penetrations grows 1% per year
Assume 2 year smartphone renewal cycle
Current smartphone population = 1.5B x 50% = 750M
Each year 50% of this populations gets a new phone = 375M
375M / 12 = ~31M per month
New smartphone population each year = 1.5B x 1% = 15M
15M / 12 = ~1 per month
31M + 1M = 32M smartphones sold per month
US mar"See full answer
"Since there is ample amount of data, there are various options to use them :
Track travellers : Using traffic data coupled with user's GPS, in consent with the user, find the user's exact spot, this can be valuable in case of emergencies or tracking a school bus.
Better ticketing : I understand that the notion is to NOT build anything with navigation, however if we have all data on the traffic, data analytics can predict if particular routes are used most, say if three connection routes a"
Googlepm 1. - "Since there is ample amount of data, there are various options to use them :
Track travellers : Using traffic data coupled with user's GPS, in consent with the user, find the user's exact spot, this can be valuable in case of emergencies or tracking a school bus.
Better ticketing : I understand that the notion is to NOT build anything with navigation, however if we have all data on the traffic, data analytics can predict if particular routes are used most, say if three connection routes a"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
"I have this approach of:
30% seniors, to help the semi senior to grow.
30% to 35% semi seniors, to help the jr to grow.
37% to 40% jr or software engineers.
With this approach and can foster a culture of grow but also be prepared to rotation of the team.
And if you have to add more people, the onboarding is more simple."
Cristian A. - "I have this approach of:
30% seniors, to help the semi senior to grow.
30% to 35% semi seniors, to help the jr to grow.
37% to 40% jr or software engineers.
With this approach and can foster a culture of grow but also be prepared to rotation of the team.
And if you have to add more people, the onboarding is more simple."See full answer
"I depends on the severity of the bug and the impact of the new feature. Is the bug a blocker and is having direct impact on the business flow? Is the new feature mission critical and has a major impact on customer experience, revenue, business, etc. Conduct an analysis. Include key stakeholders in this discussion."
Kiran K. - "I depends on the severity of the bug and the impact of the new feature. Is the bug a blocker and is having direct impact on the business flow? Is the new feature mission critical and has a major impact on customer experience, revenue, business, etc. Conduct an analysis. Include key stakeholders in this discussion."See full answer
"One technique we like to use when explaining technical concepts to non-technical people is to use analogies to help with memory retention.
For this type of question, we'll use the Restaurant example:
> Imagine you're at a restaurant with a variety of waiters - each waiter will only take your order for one specific item (i.e. one waiter for pizza, one waiter for pasta, etc.). An API is like a waiter in this example as it will only perform a specific order. An SDK on the other hand is like having"
Exponent - "One technique we like to use when explaining technical concepts to non-technical people is to use analogies to help with memory retention.
For this type of question, we'll use the Restaurant example:
> Imagine you're at a restaurant with a variety of waiters - each waiter will only take your order for one specific item (i.e. one waiter for pizza, one waiter for pasta, etc.). An API is like a waiter in this example as it will only perform a specific order. An SDK on the other hand is like having"See full answer