"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
"How would you place Amazon Alex hardware in a car, if car software integration was not an option?
Let me understand the context and the situation
Is Amazon really trying to experiment if they could be a new device category in the cars (or)
Is it that they did not get the right partnerships that led to this decision (assuming this is the case)
What could be the objectives why Amazon will get interested in this?
Apple and Google are getting entrenched in this space and Amazon has almost n"
Vamsi K. - "How would you place Amazon Alex hardware in a car, if car software integration was not an option?
Let me understand the context and the situation
Is Amazon really trying to experiment if they could be a new device category in the cars (or)
Is it that they did not get the right partnerships that led to this decision (assuming this is the case)
What could be the objectives why Amazon will get interested in this?
Apple and Google are getting entrenched in this space and Amazon has almost n"See full answer
"My ideal PM role will definitely be in that I can work smoothly with the inner team(tech, marketing, sales, etc) whether in collecting requirements or translating these requirements to the responsible tech team.
To have the full hands of a product so that I can have ownership to enhance and improve the product toward the right vision, that matches the company and market vision as well
"
Raneem A. - "My ideal PM role will definitely be in that I can work smoothly with the inner team(tech, marketing, sales, etc) whether in collecting requirements or translating these requirements to the responsible tech team.
To have the full hands of a product so that I can have ownership to enhance and improve the product toward the right vision, that matches the company and market vision as well
"See full answer
"function getDifferentNumber(arr) {
// your code goes here
const n = arr.length;
//Define Max Integer
const MAX_INT = Math.pow(2, 31) - 1;
//Coppy arr to arr1 then sort arr1.
const arr1 = arr;
arr1.sort(function(a,b) {return a -b});
// Put arr1 in Set to optimize lo
const uniqueSet = new Set(arr1);
console.log(uniqueSet);
// Check for the smallest nonnegative integer not in the array
for (let i = 0; i < n; i++) {
if (!uniqueSet.has(i)) {
return i;
}
}
if(n<MAX_INT) return n+1;
else return -1;
}"
Anonymous Hare - "function getDifferentNumber(arr) {
// your code goes here
const n = arr.length;
//Define Max Integer
const MAX_INT = Math.pow(2, 31) - 1;
//Coppy arr to arr1 then sort arr1.
const arr1 = arr;
arr1.sort(function(a,b) {return a -b});
// Put arr1 in Set to optimize lo
const uniqueSet = new Set(arr1);
console.log(uniqueSet);
// Check for the smallest nonnegative integer not in the array
for (let i = 0; i < n; i++) {
if (!uniqueSet.has(i)) {
return i;
}
}
if(n<MAX_INT) return n+1;
else return -1;
}"See full answer
"A typical computer vision pipeline consists of several key stages that process and analyze visual data to extract meaningful information. Here’s a general outline of the steps involved:
Image Acquisition:Capturing images or videos using cameras or other imaging devices.
Preprocessing steps such as resizing, cropping, and converting color spaces.
Image Preprocessing:Noise reduction (e.g., using filters like Gaussian blur).
Image normalization to standardize pixel values.
Contrast e"
Shibin P. - "A typical computer vision pipeline consists of several key stages that process and analyze visual data to extract meaningful information. Here’s a general outline of the steps involved:
Image Acquisition:Capturing images or videos using cameras or other imaging devices.
Preprocessing steps such as resizing, cropping, and converting color spaces.
Image Preprocessing:Noise reduction (e.g., using filters like Gaussian blur).
Image normalization to standardize pixel values.
Contrast e"See full answer
"Design a Fundraising product
Clarifying questions :
Are we creating this a standalone product or creating this within Meta apps ?
Global product ? Lets say global product
What is fundraising ? Raising money for cause
Why is it imp ? Allows individuals to see bigger changes with small contributios
why now? increased social causes,
creator economy, or global crises. Want to make it accessible for
everyday person rather than limiting to bigger organizations
Ties into Metas mission to give"
Rani Y. - "Design a Fundraising product
Clarifying questions :
Are we creating this a standalone product or creating this within Meta apps ?
Global product ? Lets say global product
What is fundraising ? Raising money for cause
Why is it imp ? Allows individuals to see bigger changes with small contributios
why now? increased social causes,
creator economy, or global crises. Want to make it accessible for
everyday person rather than limiting to bigger organizations
Ties into Metas mission to give"See full answer
"function constructTree(n, matrix) {
let parent = [];
let child = [];
let root = null;
for (let i = 0; i < n; i++) {
for (let j = 0; j < n; j++) {
if (matrixi === 1) {
parent.push(i);
child.push(j);
}
}
}
for (let i = 0; i < n; i++) {
if (parent.indexOf(i) === -1) {
root = i;
}
}
let node = new Node(root);
for (let i = 0; i < n; i++) {
if (i !== root) {
constructTreeUtil(node, parent[i], child[i]);
}
}
return node;
}"
Ugo C. - "function constructTree(n, matrix) {
let parent = [];
let child = [];
let root = null;
for (let i = 0; i < n; i++) {
for (let j = 0; j < n; j++) {
if (matrixi === 1) {
parent.push(i);
child.push(j);
}
}
}
for (let i = 0; i < n; i++) {
if (parent.indexOf(i) === -1) {
root = i;
}
}
let node = new Node(root);
for (let i = 0; i < n; i++) {
if (i !== root) {
constructTreeUtil(node, parent[i], child[i]);
}
}
return node;
}"See full answer
"i responded using a multi sourced BFS and in place marking, then i checked the final grid to see if any free spots were left unmarked."
Sh R. - "i responded using a multi sourced BFS and in place marking, then i checked the final grid to see if any free spots were left unmarked."See full answer