Amazon Interview Question for Software Engineer in Tests






Comment hidden because of low score. Click to expand.
1
of 1 vote

- What is the maximum number of elements that can go into cart?
- Check max if any
- Add an item and see if it properly added.
- Add an order twice. What is the desired behavior?
- Delete an item from cart and check if it is deleted.
- What happens if session is terminated by any means? Should we save the cart? For how long? Make sure cart behaves appropriately in this case.
- What if user has two open sessions and add and delete from both?
- Make sure checking out the cart works properly.
- Make sure cart behavior is consistent across different browsers
- After successful check out, make sure cart is empty.
- Try to check out with zero items and compare with expected behavior.
- On the UI side make sure when you add and delete stuff it is shown properly on the page.
- Try the cart from a cell phone. First ask the question if we want to have that functionality from cell phones.

- amshali February 26, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

dfvdsfgrgfg

- u7jyjy May 20, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

// outer loop
for (int i = 1; i <= 5; ++i) {
// codes

// inner loop
for(int j = 1; j <=2; ++j) {
// codes
}
..
}

- Anonymous August 20, 2021 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More