Amazon mobile engineer interviews focus on iOS or Android platform knowledge, memory management, offline-first architecture, and mobile-specific system design.
n days. The...Input: Arraycustomer_rating is maintained for the...Input: Arraym hubs arranged in a circular ring (Hub 1 is adjacent to Hub m)....Input: Arrayn servers in the network where the security...Input: ArraydeliveryLogs of size n, where each element represents the number of parts delivered in the i-th log. You are also given...Input: Array[start, end] includes both endpoints. Find the maximum number of...Input: Listnodes, a list of edges where each edge has a start node, an end node, and a weight (time cost), and a starting_node, implement a function that returns the shortest path to each node from the starting_node.Input: int nodes, List[Tuple[int, int, int]] edges, int starting_nodeDict[int, int] - mapping from node to shortest time cost.Example 1:5, [(0, 1, 10), (0, 2, 5), (1, 2, 2), (1, 3, 1), (2, 1, 3), (2, 3, 9), (2, 4, 2), (3, 4, 4)], starting_node = 0{0: 0, 1: 7, 2: 5, 3: 8, 4: 10}3, [(0, 1, 2), (0, 2, 1), (1, 2, 4)], starting_node = 0{0: 0, 1: 2, 2: 1}1 <= nodes <= 10^51 <= edges.length <= 2 * 10^50 <= edges[i][0], edges[i][1] < nodes1 <= edges[i][2] <= 10^5notifications represented as timestamps and a maximum allowed number of notifications within a defined time_window, implement a function to return the count of unique notifications that should be shown to users.Input: List[int] notifications, int time_windowint - the count of unique notifications to be displayed.Example 1:[1, 2, 3, 4, 1, 2, 3], time_window = 54[1, 1, 2, 2, 2, 3, 3], time_window = 331 <= notifications.length <= 10^50 <= notifications[i] <= 10^91 <= time_window <= 10^5scheduleTask({id: '1', title: 'Sale Alert'}, 5)[]executeTasks() at time 5.[{id: '1', title: 'Sale Alert'}]addItem({id: '1', name: 'Echo Dot'})[]syncChanges() when online.[{id: '1', name: 'Echo Dot'}]Sign up for free to access walkthroughs, AI-generated questions, and more.
Get Started Free