"This could be done using two-pointer approach assuming array is sorted: left and right pointers. We need track two sums (left and right) as we move pointers. For moving pointers we will move left to right by 1 (increment) when right sum is greater. We will move right pointer to left by 1 (decrement) when left sum is greater. at some point we will either get the sum same and that's when we exit from the loop. 0-left will be one array and right-(n-1) will be another array.
We are not going to mo"
Bhaskar B. - "This could be done using two-pointer approach assuming array is sorted: left and right pointers. We need track two sums (left and right) as we move pointers. For moving pointers we will move left to right by 1 (increment) when right sum is greater. We will move right pointer to left by 1 (decrement) when left sum is greater. at some point we will either get the sum same and that's when we exit from the loop. 0-left will be one array and right-(n-1) will be another array.
We are not going to mo"See full answer
"Clarifying questions:
Clarify what Facebook Lite is
Assumed answer: It’s a slimmed down version of mobile FB app optimized for slower connections and uses less data than the primary mobile FB app by not offering features like videos and high resolution photos. It is only available on Android and primarily built by FB to the developing world can have access to FB.
What is meant by “opens are down”?
Assumed answer: The total amount of opens of the app on Android devices"
Arthur Y. - "Clarifying questions:
Clarify what Facebook Lite is
Assumed answer: It’s a slimmed down version of mobile FB app optimized for slower connections and uses less data than the primary mobile FB app by not offering features like videos and high resolution photos. It is only available on Android and primarily built by FB to the developing world can have access to FB.
What is meant by “opens are down”?
Assumed answer: The total amount of opens of the app on Android devices"See full answer
"This type of question is a Technical problem. Although you will not need to actually code the feature, it's important to understand basic technical concepts. Being able to cover these concisely with clarity shows you're an effective communicator.
Here, we'll go over the broad technical steps needed to implement a basic reactions feature on Facebook.
Briefly, the steps required are the following:
Migrate the database to support reactions
Write API code to be able to react to a post, and"
Exponent - "This type of question is a Technical problem. Although you will not need to actually code the feature, it's important to understand basic technical concepts. Being able to cover these concisely with clarity shows you're an effective communicator.
Here, we'll go over the broad technical steps needed to implement a basic reactions feature on Facebook.
Briefly, the steps required are the following:
Migrate the database to support reactions
Write API code to be able to react to a post, and"See full answer
"Clarifying question:
By podcast, we mean a series of digital audio generally available on the internet in the form of monologue or interview.
Do we need to integrate it with Facebook or design a separate product? --> Separate Product not related to Facebook
Mobile/web application --> Any
Constraints? --> No
Goal? --> To design a dedicated app to recommend podcasts in order to increase user satisfaction
Users:
Power Users: Who regularly listens to podcasts and keep detailed information on various"
Gunjali D. - "Clarifying question:
By podcast, we mean a series of digital audio generally available on the internet in the form of monologue or interview.
Do we need to integrate it with Facebook or design a separate product? --> Separate Product not related to Facebook
Mobile/web application --> Any
Constraints? --> No
Goal? --> To design a dedicated app to recommend podcasts in order to increase user satisfaction
Users:
Power Users: Who regularly listens to podcasts and keep detailed information on various"See full answer
"https://www.geeksforgeeks.org/find-local-minima-array/
I coded O(N) but after that gave a binary approach aswell.
After that he also gave a varient of this problem in which, local minima means that the number is strictly less than its adjacent (we cannot do binary search there sample test case [1,1,1,1,1,1,0,1] or [1,0,1,1,1,1,1,1] using mid we cannot determine if the minima is on left or right). we have to do a linear search or find recursively."
Anonymous Porcupine - "https://www.geeksforgeeks.org/find-local-minima-array/
I coded O(N) but after that gave a binary approach aswell.
After that he also gave a varient of this problem in which, local minima means that the number is strictly less than its adjacent (we cannot do binary search there sample test case [1,1,1,1,1,1,0,1] or [1,0,1,1,1,1,1,1] using mid we cannot determine if the minima is on left or right). we have to do a linear search or find recursively."See full answer
Mobile Engineer
Coding
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"Clarifying question:
We are just interested in facebook's ad rev and not other meta products
We are looking at the rev coming per year globally
formula = (avg. ads shown per min on fb products) x (avg. time spent per user per day in mins) x (avg. rev that fb makes per view) x (DAU) x 365
assumption
all kind of ads give the same rev per view to fb
all kind of geographies give the same rev per view to fb
avg. ads shown per min -> user can scroll upto 20 posts easily in a min, lets"
Anubhav A. - "Clarifying question:
We are just interested in facebook's ad rev and not other meta products
We are looking at the rev coming per year globally
formula = (avg. ads shown per min on fb products) x (avg. time spent per user per day in mins) x (avg. rev that fb makes per view) x (DAU) x 365
assumption
all kind of ads give the same rev per view to fb
all kind of geographies give the same rev per view to fb
avg. ads shown per min -> user can scroll upto 20 posts easily in a min, lets"See full answer
"Looking back on my most recent project, which involved developing a real-time market data processing platform in the derivatives trading function , there are a few things I would have done differently to improve the process and outcomes. Here’s a reflection on those aspects:
1. \\Enhanced Initial Stakeholder Engagement\\
What Happened:
While we did conduct stakeholder meetings at the beginning of the project, some specific requirements and expectations emerged later in the process,"
Scott S. - "Looking back on my most recent project, which involved developing a real-time market data processing platform in the derivatives trading function , there are a few things I would have done differently to improve the process and outcomes. Here’s a reflection on those aspects:
1. \\Enhanced Initial Stakeholder Engagement\\
What Happened:
While we did conduct stakeholder meetings at the beginning of the project, some specific requirements and expectations emerged later in the process,"See full answer
"Goal: Before we look at FB Newsfeed, let's align ourselves with the overall goal of FB, that is, to bring the world closer together.
Feature Introduction/Clarification: FB Newsfeed is a core feature of the social networking platform that allows people to share updates, and catch up with what the world around them is talking about, group activities, events, etc.
Actions:
On Newsfeed, one can:
share their updates, feelings, etc.
catch up with updates from the people, groups, pa"
Aniket D. - "Goal: Before we look at FB Newsfeed, let's align ourselves with the overall goal of FB, that is, to bring the world closer together.
Feature Introduction/Clarification: FB Newsfeed is a core feature of the social networking platform that allows people to share updates, and catch up with what the world around them is talking about, group activities, events, etc.
Actions:
On Newsfeed, one can:
share their updates, feelings, etc.
catch up with updates from the people, groups, pa"See full answer
"A few clarifying questions:
Algorithm that is specifically used to match individuals?
Define better? More matches, higher likelihood of relationship? etc.
Next I'd like to consider the product's goals, how users engage with the app, how we'd measure those engagements, and how they align with our goals.
Considering Goals
Facebook's mission is to give people the tools to build communities
FB Dating's goal for the end user is to find a partner, but for Facebook it is really ab"
Anonymous Hawk - "A few clarifying questions:
Algorithm that is specifically used to match individuals?
Define better? More matches, higher likelihood of relationship? etc.
Next I'd like to consider the product's goals, how users engage with the app, how we'd measure those engagements, and how they align with our goals.
Considering Goals
Facebook's mission is to give people the tools to build communities
FB Dating's goal for the end user is to find a partner, but for Facebook it is really ab"See full answer
"Clarifying Questions
FB login is the feature that allows a user quickly create a login in a third party application using existing information from FB - YES
For whom do we want to improve the product / feature - You choose
On what platform mobile / desktop - Mobile
Any specific geography - US
Any specific user demographic - NO
What is the goal of the improvement (acquisition, engagement, retention, monetization) - engagement & retention
Outline:
Who are the users"
R K. - "Clarifying Questions
FB login is the feature that allows a user quickly create a login in a third party application using existing information from FB - YES
For whom do we want to improve the product / feature - You choose
On what platform mobile / desktop - Mobile
Any specific geography - US
Any specific user demographic - NO
What is the goal of the improvement (acquisition, engagement, retention, monetization) - engagement & retention
Outline:
Who are the users"See full answer
"Assumptions:
It is a brand-new product and will be for US markets.
We will be making a mobile app.
The purpose of this product is to solve the problems people face when relocating to a new city. Now there are many different kinds of problems to deal with, such as house hunting, furniture buying, transiting in the city, exploring and socializing, etc.
I will be moving forward with the socializing feature where the user will be able to find attractions of the city and visit, he will"
Ankit M. - "Assumptions:
It is a brand-new product and will be for US markets.
We will be making a mobile app.
The purpose of this product is to solve the problems people face when relocating to a new city. Now there are many different kinds of problems to deal with, such as house hunting, furniture buying, transiting in the city, exploring and socializing, etc.
I will be moving forward with the socializing feature where the user will be able to find attractions of the city and visit, he will"See full answer
"· Sometimes I have to step back and think through and respond later, not giving decision then and there
· Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"
BePostive - "· Sometimes I have to step back and think through and respond later, not giving decision then and there
· Manage between written vs oral communication, I tend to do mode of communication like oral during releases rather written"See full answer
"Created a solution for remote online learning app on the lines of coursera and also made a option for live streaming classes . Uni admin creates uni account, courses, adds instructors; instructors can create content , give classes ; student searches, enrols, consumes content. Used micro services architecture with APIs for all functions, RDBMS, NoSQL , indexed with redis and elastic."
Sneha D. - "Created a solution for remote online learning app on the lines of coursera and also made a option for live streaming classes . Uni admin creates uni account, courses, adds instructors; instructors can create content , give classes ; student searches, enrols, consumes content. Used micro services architecture with APIs for all functions, RDBMS, NoSQL , indexed with redis and elastic."See full answer
"THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"
Lea M. - "THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"See full answer
"Clarified on definition of hyperlocal - Defined it as a community of people in a 2-3 km radius and assumed geography as India
Talked about different type of community needs in a hyperlocal space - public services, local grocery delivery, food delivery, parcel delivery, making new friends for shared interests like playing badminton (Prioritised public services since it was underserved with respect to things like sewage cleaning, electricity outage in an area, community traffic problems, water"
KAI - "Clarified on definition of hyperlocal - Defined it as a community of people in a 2-3 km radius and assumed geography as India
Talked about different type of community needs in a hyperlocal space - public services, local grocery delivery, food delivery, parcel delivery, making new friends for shared interests like playing badminton (Prioritised public services since it was underserved with respect to things like sewage cleaning, electricity outage in an area, community traffic problems, water"See full answer
"The primary objective of Instagram Stories is to share fleeting moments and engage with followers in a more casual way, through photos and videos that disappear after 24 hours.
Its also used to showcase all ongoing Instagram Live events.
There are 4 user segments
Story Viewers
Story Creators (who posted the story)
Live event creators
Live event viewers
No of stories posted per user per day -> How to nudge users to post more stories and tag their friends/location.
No of stories view"
Kiran M. - "The primary objective of Instagram Stories is to share fleeting moments and engage with followers in a more casual way, through photos and videos that disappear after 24 hours.
Its also used to showcase all ongoing Instagram Live events.
There are 4 user segments
Story Viewers
Story Creators (who posted the story)
Live event creators
Live event viewers
No of stories posted per user per day -> How to nudge users to post more stories and tag their friends/location.
No of stories view"See full answer
"Clarification:
Which region do we want to know about? —> Global
Is Facebook lite included in this offering —> No. Only the Facebook app (mobile / web)
Product Overview
Facebook photo sharing allows users to upload photos and make them visible to their network. Doing so, users are able to share moments from their lives with friends and family.
Goals
User Goals
Share memories with network
View people’s reactions and respond
View other people’s photos and respond to th"
stash - "Clarification:
Which region do we want to know about? —> Global
Is Facebook lite included in this offering —> No. Only the Facebook app (mobile / web)
Product Overview
Facebook photo sharing allows users to upload photos and make them visible to their network. Doing so, users are able to share moments from their lives with friends and family.
Goals
User Goals
Share memories with network
View people’s reactions and respond
View other people’s photos and respond to th"See full answer