Amazon SDE 1 Online Assessment
Summary
I completed an Amazon SDE 1 online assessment that consisted of two coding questions, one based on a LeetCode problem and another backend security design task.
Full Experience
Question 1:
Amazon Web Services has n servers. The cache optimization power of the ith server is power[i]
Same as Leetcode problem,
https://leetcode.com/problems/sum-of-total-strength-of-wizards/
Question 2
Full Stack Coding question involving AI agent. Design backend Banking App which has security flaws that allow unauthorized access to other accounts. Users are able to view transactions that do not belong to their accounts.
Your task is to fix the access control on the backend to ensure the expected behaviour:
- Users can only access transaction history related to their own accounts
- Admins can view all user accounts and transactions. They also have permissions to delete other user accounts.
Interview Questions (2)
Sum of Total Strength of Wizards
Amazon Web Services has n servers. The cache optimization power of the ith server is power[i]. This problem is the same as the LeetCode problem "Sum of Total Strength of Wizards".
Backend Banking App Access Control
Full Stack Coding question involving AI agent. Design backend Banking App which has security flaws that allow unauthorized access to other accounts. Users are able to view transactions that do not belong to their accounts. Your task is to fix the access control on the backend to ensure the expected behaviour: Users can only access transaction history related to their own accounts. Admins can view all user accounts and transactions and have permissions to delete other user accounts.