"let str = 'this is a test of programs';
let obj={};
for (let s of str )
obj[s]?(obj[s]=obj[s]+1):(obj[s]=1)
console.log(JSON.stringify(obj))"
Anonymous Emu - "let str = 'this is a test of programs';
let obj={};
for (let s of str )
obj[s]?(obj[s]=obj[s]+1):(obj[s]=1)
console.log(JSON.stringify(obj))"See full answer
"First, it helps to give a motivation of why it might be useful to understand web cookies and what they are. Then, give a useful example by analogy of how they work. Here's how we might explain web cookies.
> When you open your browser and visit www.facebook.com, your browser already knows know you're signed in and log in automatically. Or, say you're on a shopping website for skis and then you start getting ads for skis. How does your browser know this stuff?The answe"
Exponent - "First, it helps to give a motivation of why it might be useful to understand web cookies and what they are. Then, give a useful example by analogy of how they work. Here's how we might explain web cookies.
> When you open your browser and visit www.facebook.com, your browser already knows know you're signed in and log in automatically. Or, say you're on a shopping website for skis and then you start getting ads for skis. How does your browser know this stuff?The answe"See full answer
"This is a Strategy Question, which asks you to justify high-level business decisions and strategy. There's no set formula, but we recommend proposing at least three different reasons to answer the question.
Let's go over one possible solution:
> To me, it would have to be Instagram. I'll provide three reasons why:Trends towards photos: Before the Instagram acquisition, many people were trending towards using photos as conversation topics rather than text posts. This was present not only on F"
Exponent - "This is a Strategy Question, which asks you to justify high-level business decisions and strategy. There's no set formula, but we recommend proposing at least three different reasons to answer the question.
Let's go over one possible solution:
> To me, it would have to be Instagram. I'll provide three reasons why:Trends towards photos: Before the Instagram acquisition, many people were trending towards using photos as conversation topics rather than text posts. This was present not only on F"See full answer
Product Manager
Product Strategy
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"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
"This is a Strategy Question, which asks you to justify high-level business decisions and strategy. Before jumping in, we should evaluate which type of strategy question we're attempting to answer and propose multiple reasons or solutions.
Let's go over one possible solution:
> There's a few reasons why Facebook may have built the portal. My top three reasons would be:Investing in smart home
> Owning more upstream value
> XR Integration
>
Investing in smart home
> One hypothetical reason"
Exponent - "This is a Strategy Question, which asks you to justify high-level business decisions and strategy. Before jumping in, we should evaluate which type of strategy question we're attempting to answer and propose multiple reasons or solutions.
Let's go over one possible solution:
> There's a few reasons why Facebook may have built the portal. My top three reasons would be:Investing in smart home
> Owning more upstream value
> XR Integration
>
Investing in smart home
> One hypothetical reason"See full answer
"Few follow-up questions
Why is this product being built?
As a lot of customers don't pay much attention when asked for feedback on a service. It is not their priority to provide feedback
Is this feedback for a product or a service?
A product
What type of product is this? An app on phone? Website?
Can be anything
My responses below
Goal is to ensure that the feedback on products are got.
Customer segments are B2B, B2C customers. I have chosen the B2B customers.
Problem statements inv"
Vennam A. - "Few follow-up questions
Why is this product being built?
As a lot of customers don't pay much attention when asked for feedback on a service. It is not their priority to provide feedback
Is this feedback for a product or a service?
A product
What type of product is this? An app on phone? Website?
Can be anything
My responses below
Goal is to ensure that the feedback on products are got.
Customer segments are B2B, B2C customers. I have chosen the B2B customers.
Problem statements inv"See full answer