"To design a scalable ticketing system for peak events like Black Friday, you must employ a microservices architecture, implement robust load balancing, leverage caching, and use a combination of NoSQL and relational databases for different data types. Key features also include real-time seat booking, secure payment integration, mobile compatibility with QR code validation, robust admin dashboards for analytics, and integrated marketing tools like promo codes. The system needs to prioritize avail"
Teja G. - "To design a scalable ticketing system for peak events like Black Friday, you must employ a microservices architecture, implement robust load balancing, leverage caching, and use a combination of NoSQL and relational databases for different data types. Key features also include real-time seat booking, secure payment integration, mobile compatibility with QR code validation, robust admin dashboards for analytics, and integrated marketing tools like promo codes. The system needs to prioritize avail"See full answer
"Thorough analysis of the asks- what is the strategic fit, overall business value, goals?
Analysis of resources - skillset/ time/ dependencies.
Create a list of all the things that we have to do, rank them by value(impact), urgency and effort needed.
Stakehodler inputs.
Moscow priroitization/ value vs effort frameworks.
Have clear communication channels with our stakehodlers to socialzie progress/ effort
Sequence the asks - subject to changing circumstances.
Call ou"
Anonymous Boa - "Thorough analysis of the asks- what is the strategic fit, overall business value, goals?
Analysis of resources - skillset/ time/ dependencies.
Create a list of all the things that we have to do, rank them by value(impact), urgency and effort needed.
Stakehodler inputs.
Moscow priroitization/ value vs effort frameworks.
Have clear communication channels with our stakehodlers to socialzie progress/ effort
Sequence the asks - subject to changing circumstances.
Call ou"See full answer
"MOD = 10**9 + 7
def max_stability(reliability, availability):
max_stability = 1
for r, a in zip(reliability, availability):
Compute stability of the current server
stability = r * a
if stability != 0:
Multiply into max_stability and take modulo
maxstability = (maxstability * stability) % MOD
return max_stability
reliability = [1, 2, 2]
availability = [1, 1, 3]
print(max_stability(reliability, availability)) # Output the result mo"
K.nithish K. - "MOD = 10**9 + 7
def max_stability(reliability, availability):
max_stability = 1
for r, a in zip(reliability, availability):
Compute stability of the current server
stability = r * a
if stability != 0:
Multiply into max_stability and take modulo
maxstability = (maxstability * stability) % MOD
return max_stability
reliability = [1, 2, 2]
availability = [1, 1, 3]
print(max_stability(reliability, availability)) # Output the result mo"See full answer
"I will Use Bit manipulation for solving this question
suppose if n is a power of 2 so it should satisfy (n&0)==0 else (n&0)==1"
Ankur P. - "I will Use Bit manipulation for solving this question
suppose if n is a power of 2 so it should satisfy (n&0)==0 else (n&0)==1"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.
"Some of the best practices I found in the best PMs is
Structure - Often times the problems we are dealing with in corporate are going to be ambiguous. Best PMs will try to scope it down and bring a clarity to the ambiguous problem statement. This can be observed in simple things like planning a day, planning a trip or planning a house hunt. They will approach problems with some structure in place
Getting the buy in from people - I found that often times PMs are the people who doesn't have"
Anonymous Fish - "Some of the best practices I found in the best PMs is
Structure - Often times the problems we are dealing with in corporate are going to be ambiguous. Best PMs will try to scope it down and bring a clarity to the ambiguous problem statement. This can be observed in simple things like planning a day, planning a trip or planning a house hunt. They will approach problems with some structure in place
Getting the buy in from people - I found that often times PMs are the people who doesn't have"See full answer
"I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this:
The Broader Context
this problem doesn't specify the type of data we're working with, or how it's being ingested
to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question:
let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste
w"
Zain R. - "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this:
The Broader Context
this problem doesn't specify the type of data we're working with, or how it's being ingested
to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question:
let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste
w"See full answer
"Instagram is social media app where you can share photo and video to others. Impressions is an important metrics to track because it shows how many contents that users see.
Clarify Questions:
Is this drop happen suddenly or gradually? - Gradually
How long has it been happening? - Last 3 months
Is it happen globally or in certain region? - Globally
Is the drop happen to all user segments (age, new/existing, active/less active users)? - all user segments
When calculating an impressions,"
Nayla D. - "Instagram is social media app where you can share photo and video to others. Impressions is an important metrics to track because it shows how many contents that users see.
Clarify Questions:
Is this drop happen suddenly or gradually? - Gradually
How long has it been happening? - Last 3 months
Is it happen globally or in certain region? - Globally
Is the drop happen to all user segments (age, new/existing, active/less active users)? - all user segments
When calculating an impressions,"See full answer
" Not Setting up the right expectation with users so that they come prepared and plan for application. Users should be informed in advance about the document required, kind of questions they can expect and average time they are going to spend. Inform about the money too if there is an application fee.
Too many questions where users are suppose to write paragraphs
Seeking sensitive mandatory information
Reality is different from expectation setting
Too long to too much time consum"
Mohammad shahid S. - " Not Setting up the right expectation with users so that they come prepared and plan for application. Users should be informed in advance about the document required, kind of questions they can expect and average time they are going to spend. Inform about the money too if there is an application fee.
Too many questions where users are suppose to write paragraphs
Seeking sensitive mandatory information
Reality is different from expectation setting
Too long to too much time consum"See full answer
"To improve the passenger experience at a major metropolitan airport, I would focus on streamlining the pre-arrival, arrival, and post-flight stages of their journey. Pre-arrival, we could integrate flight details into the Uber app and provide predictive ETAs to help passengers plan better. At the airport, we could partner with authorities to create dedicated drop-off and pickup zones, along with clear in-app navigation to reduce confusion. Post-flight, we could implement dynamic pickup zones, vi"
Prashant S. - "To improve the passenger experience at a major metropolitan airport, I would focus on streamlining the pre-arrival, arrival, and post-flight stages of their journey. Pre-arrival, we could integrate flight details into the Uber app and provide predictive ETAs to help passengers plan better. At the airport, we could partner with authorities to create dedicated drop-off and pickup zones, along with clear in-app navigation to reduce confusion. Post-flight, we could implement dynamic pickup zones, vi"See full answer
"Overall, a successful Netflix viewing session requires that the user was able to find a piece of content that they loved watching. Now, to break this down, how we might define this:
-Time browsing (from app open to content played)
-Satisfaction
--> inferred satisfaction: did user complete watching the piece of content?
--> explicit: did the user rank that they loved the content (2 thumbs up)?
The way I would evaluate a new Top Picks ML feature would be to implement an A/B test as follows:
Te"
Henry H. - "Overall, a successful Netflix viewing session requires that the user was able to find a piece of content that they loved watching. Now, to break this down, how we might define this:
-Time browsing (from app open to content played)
-Satisfaction
--> inferred satisfaction: did user complete watching the piece of content?
--> explicit: did the user rank that they loved the content (2 thumbs up)?
The way I would evaluate a new Top Picks ML feature would be to implement an A/B test as follows:
Te"See full answer
"Hi Chris, this is John from CISCO. How have you been? This is with respect to our earlier communication regarding your order which was supposed to be completed by end Sep 24. Can you recall that conversation? Unfortunately, I am compelled to inform you that the shipment pertaining to your order is now delayed and the reason for that is severe climatic conditions in Chaina caused plant shut down there for several days. Hence we are expecting atleast a month of delay and we now expect to serve you"
Zaeem B. - "Hi Chris, this is John from CISCO. How have you been? This is with respect to our earlier communication regarding your order which was supposed to be completed by end Sep 24. Can you recall that conversation? Unfortunately, I am compelled to inform you that the shipment pertaining to your order is now delayed and the reason for that is severe climatic conditions in Chaina caused plant shut down there for several days. Hence we are expecting atleast a month of delay and we now expect to serve you"See full answer