Amazon SDE 1 Online Assessment

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.
Comments (2)