"URL> DNS over UDP> IP address > TCP handshake > HTTP(SSL handshake) req, responses, websites architectures for any query DB, servers."
Wizzy B. - "URL> DNS over UDP> IP address > TCP handshake > HTTP(SSL handshake) req, responses, websites architectures for any query DB, servers."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
"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
"First, let us start with the mission of Amazon: “We strive to offer our customers the lowest possible prices, the best available selection, and the utmost convenience.”
Alignment of recommendations system with Amazon's mission: Suggesting recommendations to the users would be a part of this mission as it would allow users to buy things on their mind for the lowest cost in market (may or may not be true). They might get better prices if they order adjacent items together. For example, i"
Nithesh S. - "First, let us start with the mission of Amazon: “We strive to offer our customers the lowest possible prices, the best available selection, and the utmost convenience.”
Alignment of recommendations system with Amazon's mission: Suggesting recommendations to the users would be a part of this mission as it would allow users to buy things on their mind for the lowest cost in market (may or may not be true). They might get better prices if they order adjacent items together. For example, i"See full answer
"This system design question is very small compared to other questions like design instagram, twitter, google drive etc... Since the design involves less components the level of detail we have to go in them were deep. I had to explain how to deal with all the NFR for the distributed cache system. Whether it is a push model or a pull model. Hade to do BOE calculations for the database too."
Jagan M. - "This system design question is very small compared to other questions like design instagram, twitter, google drive etc... Since the design involves less components the level of detail we have to go in them were deep. I had to explain how to deal with all the NFR for the distributed cache system. Whether it is a push model or a pull model. Hade to do BOE calculations for the database too."See full answer
Software Engineer
Technical
+1 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"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
"While serverless computing has its merits due to removing the need for server management and auto-scaling abilities, several challenges might arise when deploying machine learning models using this setup.
Cold-start latency is a key issue where an Amazon Lambda function, for example, would take more time than usual to run after being idle. This could affect the performance of real-time ML applications negatively. A way to keep the functions warm might be required to avoid this latency.
Moreover,"
Surbhi G. - "While serverless computing has its merits due to removing the need for server management and auto-scaling abilities, several challenges might arise when deploying machine learning models using this setup.
Cold-start latency is a key issue where an Amazon Lambda function, for example, would take more time than usual to run after being idle. This could affect the performance of real-time ML applications negatively. A way to keep the functions warm might be required to avoid this latency.
Moreover,"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
"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
"The Critical Rendering Path (CRP) refers to the sequence of steps that a web browser takes to convert HTML, CSS, and JavaScript into a fully rendered webpage. CRP highlights the processes that can slow down the time it takes for a webpage to become interactive for users."
Shivam B. - "The Critical Rendering Path (CRP) refers to the sequence of steps that a web browser takes to convert HTML, CSS, and JavaScript into a fully rendered webpage. CRP highlights the processes that can slow down the time it takes for a webpage to become interactive for users."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
"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
"Asked clarifying questions, this was similar to box. Took a minute to gather thoughts. Came up with a structured approach. Focused on use cases, prioritized it. They wanted to focus on security aspects, MFA, simultaneous read/write operations, etc."
Shahid K. - "Asked clarifying questions, this was similar to box. Took a minute to gather thoughts. Came up with a structured approach. Focused on use cases, prioritized it. They wanted to focus on security aspects, MFA, simultaneous read/write operations, etc."See full answer