"First, I would like to discuss and align what is meaningful social interaction. Given facebook's mission to empower users to build communities and get people closer, it is important that users have "meaningful social interaction"
The goal of defining this metric is to use this as a north star or success metric around any efforts to increase engagement. It can also help with ads targeting/monetization by showing ads only during deeper interactions and hence might get better yield.
Given faceb"
Praveen - "First, I would like to discuss and align what is meaningful social interaction. Given facebook's mission to empower users to build communities and get people closer, it is important that users have "meaningful social interaction"
The goal of defining this metric is to use this as a north star or success metric around any efforts to increase engagement. It can also help with ads targeting/monetization by showing ads only during deeper interactions and hence might get better yield.
Given faceb"See full answer
"Clarifying question?
What is GCP and what does it mean to create a new GCP region in Portugal?
GCP is Google Cloud Portugal. Creating a new region means creating data centres (clouds) which can be used as hosts.
Is there a business objective to consider Portugal for a new region?
None in particular
Structure:
Explore internal factors
Is there a particular business goal that we are trying to accomplish like goal of getting more business from EU companies in coming few years? If yes"
S Y. - "Clarifying question?
What is GCP and what does it mean to create a new GCP region in Portugal?
GCP is Google Cloud Portugal. Creating a new region means creating data centres (clouds) which can be used as hosts.
Is there a business objective to consider Portugal for a new region?
None in particular
Structure:
Explore internal factors
Is there a particular business goal that we are trying to accomplish like goal of getting more business from EU companies in coming few years? If yes"See full answer
" are we considering ride sharing app or also Uber Eats?
If we are considering Ride sharing app
Uber is successful when a Customer is safely dropped at its selected destination and Uber driver is paid for the drive.
For Uber to be successful in a new city we want to track
Number of completed rides per day/week
Number of customers who came back to the app for another ride after first one was completed.
Number of active drivers per day.
Number of drivers completing at least 1 ride"
Sanjana G. - " are we considering ride sharing app or also Uber Eats?
If we are considering Ride sharing app
Uber is successful when a Customer is safely dropped at its selected destination and Uber driver is paid for the drive.
For Uber to be successful in a new city we want to track
Number of completed rides per day/week
Number of customers who came back to the app for another ride after first one was completed.
Number of active drivers per day.
Number of drivers completing at least 1 ride"See full answer
"import string
from collections import defaultdict
def mostcommonwords(text):
d = defaultdict(int)
s = text.translate(str.maketrans('', '', string.punctuation))
for w in s.lower().split():
d[w] = d[w] + 1
return sorted(sorted(d.items()), reverse=True, key=lambda x: x[1])
`"
Michael S. - "import string
from collections import defaultdict
def mostcommonwords(text):
d = defaultdict(int)
s = text.translate(str.maketrans('', '', string.punctuation))
for w in s.lower().split():
d[w] = d[w] + 1
return sorted(sorted(d.items()), reverse=True, key=lambda x: x[1])
`"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
"Define the feature
A virtual card number is a temporary or disposable card number generated by your credit card issuer or financial institution. It is designed to protect your actual credit card information during online transactions. Its main purpose is the security of your actual credit card.
Clarification questions
No questions
What is the purpose of the feature?
Enhanced Security: Using a virtual card number protects your actual credit card details from being exposed to potentia"
Ekta M. - "Define the feature
A virtual card number is a temporary or disposable card number generated by your credit card issuer or financial institution. It is designed to protect your actual credit card information during online transactions. Its main purpose is the security of your actual credit card.
Clarification questions
No questions
What is the purpose of the feature?
Enhanced Security: Using a virtual card number protects your actual credit card details from being exposed to potentia"See full answer
"I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."
Mc L. - "I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."See full answer
"Redefining the question as: How will you solve the problem of misinformation on FB?
Clarifying questions:
Are we talking about building a product? (Up to you)
What exactly is misinformation? (Fake news, inaccurate facts being shared on social media)
Goal: Reduce the amount of misinformation spread on the platform and improve user trust.
Key users associated with misinformation:
News Accounts (eg CNN) - They may get involved in some controversy about a fake photoshopped artic"
P K. - "Redefining the question as: How will you solve the problem of misinformation on FB?
Clarifying questions:
Are we talking about building a product? (Up to you)
What exactly is misinformation? (Fake news, inaccurate facts being shared on social media)
Goal: Reduce the amount of misinformation spread on the platform and improve user trust.
Key users associated with misinformation:
News Accounts (eg CNN) - They may get involved in some controversy about a fake photoshopped artic"See full answer
"Video has audio disruption starting at ~7th minute, did not understand what law he was talking about. Can someone please clarify?"
Ushita S. - "Video has audio disruption starting at ~7th minute, did not understand what law he was talking about. Can someone please clarify?"See full answer
"While all branches should ideally be tested, some are more critical than others based on the following factors:
A. High-Risk or Business-Critical Logic
Branches that handle authentication & authorization
(e.g., login, role-based access control)
Financial transactions or payment processing logic
(e.g., tax calculations, refunds, invoice generation)
Security-related branches
(e.g., encryption/decryption, token verification)
B. Error Handling & Exception Paths
Branches that deal with error conditi"
Adesegun K. - "While all branches should ideally be tested, some are more critical than others based on the following factors:
A. High-Risk or Business-Critical Logic
Branches that handle authentication & authorization
(e.g., login, role-based access control)
Financial transactions or payment processing logic
(e.g., tax calculations, refunds, invoice generation)
Security-related branches
(e.g., encryption/decryption, token verification)
B. Error Handling & Exception Paths
Branches that deal with error conditi"See full answer
"Firstly, congratulations to both the interviewer and interviewee. This was a great learning experience
However, being a Full Stack engineer and I was having the following suggestions around the Data Model -
Driver & Approval can be two different tables
Approval & Document - Approval can be a tuple of (userid,documentid) - comments against a rejection (marks the document which triggers rejection)In this way we can capture the entire history of approval workflow (initiate/pending/appr"
Nilanjan D. - "Firstly, congratulations to both the interviewer and interviewee. This was a great learning experience
However, being a Full Stack engineer and I was having the following suggestions around the Data Model -
Driver & Approval can be two different tables
Approval & Document - Approval can be a tuple of (userid,documentid) - comments against a rejection (marks the document which triggers rejection)In this way we can capture the entire history of approval workflow (initiate/pending/appr"See full answer
"I think AI such as ChatGPT seemed to spit out its answers fast and instinctively, hence proving its efficiency but in the recent versions it seems to have acquired reasoning skills which was revealed 'transparently' to users. This new, reasoning skills introduce a small delay in its response and explains what it does during the delay but I do not really think that it is "thinking" any differently than before, except that it is constrained by some purported rules when asked to summarise certain b"
Louisa C. - "I think AI such as ChatGPT seemed to spit out its answers fast and instinctively, hence proving its efficiency but in the recent versions it seems to have acquired reasoning skills which was revealed 'transparently' to users. This new, reasoning skills introduce a small delay in its response and explains what it does during the delay but I do not really think that it is "thinking" any differently than before, except that it is constrained by some purported rules when asked to summarise certain b"See full answer