"If it's a product end to end, then there's a lot to say. If it's just a feature on top of a product then I will focus on the complexity and how I break complex tasks into small milestones to partner with XFN teams to nail it. Focus on situation, task, actions and results"
S G. - "If it's a product end to end, then there's a lot to say. If it's just a feature on top of a product then I will focus on the complexity and how I break complex tasks into small milestones to partner with XFN teams to nail it. Focus on situation, task, actions and results"See full answer
"Clarification:
Are we talking about creating an experience or product as part of another product or from 0→1?
Encourage - the goal is to increase % of citizen vote. Or want to vote?
Vote - are we talking about national elections?
Am I a product manager for the government?
Any focus on geo, segment, or platform?
Context - why do we want to do it? Did we experience a recent decline?
Could it be hardware or software only? Digital or physical?
Structure:
Context
"
Ram - "Clarification:
Are we talking about creating an experience or product as part of another product or from 0→1?
Encourage - the goal is to increase % of citizen vote. Or want to vote?
Vote - are we talking about national elections?
Am I a product manager for the government?
Any focus on geo, segment, or platform?
Context - why do we want to do it? Did we experience a recent decline?
Could it be hardware or software only? Digital or physical?
Structure:
Context
"See full answer
"I assume here that the elderly person does not have much knowledge about technology and the internet.
I would like to structure my answer in this way:
Concepts of twitter I want the elderly to know.
Take an analogy to explain the concepts.
Connect the dots between the analogy back to the app.
Twitter concepts :
A common feed to look at the tweets created by the people in your network.
Concept of retweeting.
Chatting.
Comments/likes.
Analogy :
Imagine there is an office wi"
Samiksha D. - "I assume here that the elderly person does not have much knowledge about technology and the internet.
I would like to structure my answer in this way:
Concepts of twitter I want the elderly to know.
Take an analogy to explain the concepts.
Connect the dots between the analogy back to the app.
Twitter concepts :
A common feed to look at the tweets created by the people in your network.
Concept of retweeting.
Chatting.
Comments/likes.
Analogy :
Imagine there is an office wi"See full answer
"Deep Learning is a part of Artificial Intelligence, it's like teaching the machine to think and make decisions on its own. It's like how we teach a child the concept of an apple - it's round, red, has a stem on top. We show them multiple pictures of apples and then they understand and can recognize an apple in future. Similarly, we feed lots of data to the machine, and slowly, it starts learning from that data, and can then make relevant predictions or decisions based on what it has learnt.
A co"
Surbhi G. - "Deep Learning is a part of Artificial Intelligence, it's like teaching the machine to think and make decisions on its own. It's like how we teach a child the concept of an apple - it's round, red, has a stem on top. We show them multiple pictures of apples and then they understand and can recognize an apple in future. Similarly, we feed lots of data to the machine, and slowly, it starts learning from that data, and can then make relevant predictions or decisions based on what it has learnt.
A co"See full answer
"To determine if a graph is not a tree, you can check for the following conditions:
Presence of cycles: A graph is not a tree if it contains cycles. In a tree, there should be exactly one unique path between any two vertices. If you can find a cycle in the graph, it cannot be a tree.
Insufficient number of edges: A tree with N vertices will have exactly N-1 edges. If the graph has fewer or more than N-1 edges, then it is not a tree.
Disconnected components: A tree is a connected graph, m"
Vaibhav C. - "To determine if a graph is not a tree, you can check for the following conditions:
Presence of cycles: A graph is not a tree if it contains cycles. In a tree, there should be exactly one unique path between any two vertices. If you can find a cycle in the graph, it cannot be a tree.
Insufficient number of edges: A tree with N vertices will have exactly N-1 edges. If the graph has fewer or more than N-1 edges, then it is not a tree.
Disconnected components: A tree is a connected graph, m"See full answer
Software Engineer
Technical
+2 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"function areSentencesSimilar(sentence1, sentence2, similarPairs) {
if (sentence1.length !== sentence2.length) return false;
for (let i=0; i (w1 === word1 && !visited.has(w2)) || (w2 === word1 && !visited.has(w1)));
if (!edge) {
"
Tiago R. - "function areSentencesSimilar(sentence1, sentence2, similarPairs) {
if (sentence1.length !== sentence2.length) return false;
for (let i=0; i (w1 === word1 && !visited.has(w2)) || (w2 === word1 && !visited.has(w1)));
if (!edge) {
"See full answer
"SQL databases are relational, NoSQL databases are non-relational. SQL databases use structured query language and have a predefined schema. NoSQL databases have dynamic schemas for unstructured data. SQL databases are vertically scalable, while NoSQL databases are horizontally scalable."
Ali H. - "SQL databases are relational, NoSQL databases are non-relational. SQL databases use structured query language and have a predefined schema. NoSQL databases have dynamic schemas for unstructured data. SQL databases are vertically scalable, while NoSQL databases are horizontally scalable."See full answer
"Imagine you have a friend from France that speaks French, and you only speak English. You and your friend want to play a talking game. So, for your friend to understand you and for you to understand what your friend is saying you would need an API between the two of you. The api has its own language called api language. You and your friend will both get a small book that tells you how to speak api language. The api in between you and your friend would allow both of you to speak API language to"
Musonda C. - "Imagine you have a friend from France that speaks French, and you only speak English. You and your friend want to play a talking game. So, for your friend to understand you and for you to understand what your friend is saying you would need an API between the two of you. The api has its own language called api language. You and your friend will both get a small book that tells you how to speak api language. The api in between you and your friend would allow both of you to speak API language to"See full answer
"function knapsack(weights, values, cap) {
const indicesByValue = Object.keys(weights).map(weight => parseInt(weight));
indicesByValue.sort((a, b) => values[b]-values[a]);
const steps = new Map();
function knapsackStep(cap, sack) {
if (steps.has(sack)) {
return steps.get(sack);
}
let maxOutput = 0;
for (let index of indicesByValue) {
if (!sack.has(index) && weights[index] <= cap) {
maxOutput ="
Tiago R. - "function knapsack(weights, values, cap) {
const indicesByValue = Object.keys(weights).map(weight => parseInt(weight));
indicesByValue.sort((a, b) => values[b]-values[a]);
const steps = new Map();
function knapsackStep(cap, sack) {
if (steps.has(sack)) {
return steps.get(sack);
}
let maxOutput = 0;
for (let index of indicesByValue) {
if (!sack.has(index) && weights[index] <= cap) {
maxOutput ="See full answer
"To scale web applications, one must concentrate on having
Shared hosting / Dedicated server
CDN (for images servers)
Caching techniques
Database Sharding
Adding/removing webservers on the fly
In order to improve the speed of the web applications, certain techniques to look at :
Web hosts - Shared hosting / dedicated server
CDN
Caching techniques
Compression techniques
Reduced use of plugins, check Java script / CSS files
Pre-fetch : If we are aware that th"
Googlepm 1. - "To scale web applications, one must concentrate on having
Shared hosting / Dedicated server
CDN (for images servers)
Caching techniques
Database Sharding
Adding/removing webservers on the fly
In order to improve the speed of the web applications, certain techniques to look at :
Web hosts - Shared hosting / dedicated server
CDN
Caching techniques
Compression techniques
Reduced use of plugins, check Java script / CSS files
Pre-fetch : If we are aware that th"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
"Clarification question: How many subscription plans are offered by Tinder ?
If there is more than one subscription plan, then we need to ask is the fluctuation happening across all plans or in a particular one ?
Assumption: Let's say lower priced subscription plan is showing the most fluctuation and there are only two types of plans
In this subscription plan which age group is showing the most fluctuation (18-24,25-30, 30+ etc) ?
Is there any seasonality trend observed (eg: placemen"
Srijita P. - "Clarification question: How many subscription plans are offered by Tinder ?
If there is more than one subscription plan, then we need to ask is the fluctuation happening across all plans or in a particular one ?
Assumption: Let's say lower priced subscription plan is showing the most fluctuation and there are only two types of plans
In this subscription plan which age group is showing the most fluctuation (18-24,25-30, 30+ etc) ?
Is there any seasonality trend observed (eg: placemen"See full answer
"Based on the required significance level (usually less than 5%) and based on the test power (usually 95%?), I will calculate the required sample size. Once I get the sample size, then I will do the A/B testing until I meet the sample size."
Naga M. - "Based on the required significance level (usually less than 5%) and based on the test power (usually 95%?), I will calculate the required sample size. Once I get the sample size, then I will do the A/B testing until I meet the sample size."See full answer
"Clarifying questions:
Are we taking about a personal parking lot or a public parking lot
Do we have an objective in head for this lot -> Make money? Public parking lot from govt body
Do we have a particular location in head for this -> basement, outside some building or on the roof
Are we particular about the number of vehicles it can take up?
Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers)
Taking a few assumptions:"
Anubhav A. - "Clarifying questions:
Are we taking about a personal parking lot or a public parking lot
Do we have an objective in head for this lot -> Make money? Public parking lot from govt body
Do we have a particular location in head for this -> basement, outside some building or on the roof
Are we particular about the number of vehicles it can take up?
Are we particular about the kind of vehicles that it can take up? (2 wheelers, 4 wheelers, heavy weight 4 wheelers)
Taking a few assumptions:"See full answer