"Initially I asked clarifying questions like whether the tree can be empty or not and asked the interviewer to explain what is meant by left view and the explanation for the sample inputs.
Then I came up with the level order traversal approach where we visit each level in the binary tree at once using a queue and at each level print the value of the first node.
Interviewer seemed satisfied with the approach and asked me to code it up.
Finally gave the time and space complexity of the solution."
Ds S. - "Initially I asked clarifying questions like whether the tree can be empty or not and asked the interviewer to explain what is meant by left view and the explanation for the sample inputs.
Then I came up with the level order traversal approach where we visit each level in the binary tree at once using a queue and at each level print the value of the first node.
Interviewer seemed satisfied with the approach and asked me to code it up.
Finally gave the time and space complexity of the solution."See full answer
"I would conduct a sample z-test because we have enough samples and the population variance is known.
H1: average monthly spending per user is $50
H0: average monthly spending per user is greater $50
One-sample z-test
x_bar = $85
mu = $50
s = $20
n = 100
x_bar - mu / (s / sqrt(n) = 17.5
17.5 is the z-score that we will need to associate with its corresponding p-value. However, the z-score is very high,
so the p-value will be very close to zero, which is much less than the standa"
Lucas G. - "I would conduct a sample z-test because we have enough samples and the population variance is known.
H1: average monthly spending per user is $50
H0: average monthly spending per user is greater $50
One-sample z-test
x_bar = $85
mu = $50
s = $20
n = 100
x_bar - mu / (s / sqrt(n) = 17.5
17.5 is the z-score that we will need to associate with its corresponding p-value. However, the z-score is very high,
so the p-value will be very close to zero, which is much less than the standa"See full answer
"Whenever I find resistance to my idea, my general approach is to :
Validate my idea
Identify if it is a political reason or is it a valid engineering tech reason
Assuming it is not political but it is resource/difference of opinions that are causing resistance.
Then I would try to do a quick POC and show a value proposition for the idea to get the buy-in.
One similar situation happened
The situation was that stakeholders were promised a feature that would decrease their number of ticket"
Jaim - "Whenever I find resistance to my idea, my general approach is to :
Validate my idea
Identify if it is a political reason or is it a valid engineering tech reason
Assuming it is not political but it is resource/difference of opinions that are causing resistance.
Then I would try to do a quick POC and show a value proposition for the idea to get the buy-in.
One similar situation happened
The situation was that stakeholders were promised a feature that would decrease their number of ticket"See full answer
Software Engineer
Behavioral
+1 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"· Support team members to grow, people oriented, have ability to deal with underperformers, influential and motivational skills
· Can deal with multiple releases and able to manage resource crunch"
BePostive - "· Support team members to grow, people oriented, have ability to deal with underperformers, influential and motivational skills
· Can deal with multiple releases and able to manage resource crunch"See full answer
"Consulted on building a mental healthcare marketplace, performed user research, and competitive analysis. Formulated business strategy shift from D2C to B2B and product roadmap for MVP, onboarded 100K+ users. Shift was based off changing market dynamics."
Ayush S. - "Consulted on building a mental healthcare marketplace, performed user research, and competitive analysis. Formulated business strategy shift from D2C to B2B and product roadmap for MVP, onboarded 100K+ users. Shift was based off changing market dynamics."See full answer
"I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"
Anonymous Narwhal - "I'm seeking a role in which I can be continually challenged to devise innovative and streamlined solutions for complex issues, particularly with regard to the persistent soaking problem. I'm excited about the opportunity to not only excel in my own performance but also to empower and enable my colleagues to perform at their absolute best. My goal is to wield my influence and magnetic qualities to not only attract but also retain top-tier engineering talent, all in alignment with our shared objec"See full answer
"If other org is not taking PM seriously, then following may be potential reasons:
They don't like the way PM communicates with them
They do not understand project goals
They do not understand requirements clearly
They are occupied with other high priority project
I think Project Manager did not prepare himself well before reaching out to org for resources.
He can use the following approach to get resources from a different org:
Good documentation: PM should capture the project"
Saket S. - "If other org is not taking PM seriously, then following may be potential reasons:
They don't like the way PM communicates with them
They do not understand project goals
They do not understand requirements clearly
They are occupied with other high priority project
I think Project Manager did not prepare himself well before reaching out to org for resources.
He can use the following approach to get resources from a different org:
Good documentation: PM should capture the project"See full answer
"THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"
Lea M. - "THIS QUESTION IS FROM AMAZON
STRUCTURE OF THE ANSWER
ARTICULATE YOUR IDEA
WHY IS IT WORTH ADVOCATING
ACHIEVING THE IDEA
THE RESULTS AND IMPACT FOR THE COMPANY FROM THIS IDEA.
AND ADD THE CHERRY ON THE TOP I HAVE A PRESENTATION MADE TO PRESENT YOUR IDEAS INTO A COMPELLING WAY"See full answer
"I had a very difficult situation where the company I was working for was having financial problems. Because of that, I had to fire one person from my team. I chose the team member we had hired most recently. She had great potential, but she still needed guidance to do her job. Before I talked to her, I reached out to some acquaintances from other companies, and one of them was hiring. So, when I gave her the bad news, I also told her about that opportunity. I gave her a recommendation letter and"
Abdurhman M. - "I had a very difficult situation where the company I was working for was having financial problems. Because of that, I had to fire one person from my team. I chose the team member we had hired most recently. She had great potential, but she still needed guidance to do her job. Before I talked to her, I reached out to some acquaintances from other companies, and one of them was hiring. So, when I gave her the bad news, I also told her about that opportunity. I gave her a recommendation letter and"See full answer
"In one of the projects I managed, one team member was slipping each of his task's ETAs several times, citing different reasons, and communicating the delay after it already happened. The delay seemed disproportional to the reasons thereof. I first collected sufficient historical data to confirm that this was a pattern, and similar circumstances were faced by other team members, but they were managing to still keep their ETAs.
Then I had a talk with the person, and showed him the data. I also ex"
Surekha G. - "In one of the projects I managed, one team member was slipping each of his task's ETAs several times, citing different reasons, and communicating the delay after it already happened. The delay seemed disproportional to the reasons thereof. I first collected sufficient historical data to confirm that this was a pattern, and similar circumstances were faced by other team members, but they were managing to still keep their ETAs.
Then I had a talk with the person, and showed him the data. I also ex"See full answer