Location: Austin
Team: Last Mile
Position: SDE 2 Android
YOE: 4 years
Online Assessment: Variation of leetcode problems
Virtual Onsite: 5 rounds
OOP: Create classes and interfaces for a POS system. Take into account for each item - product code & price. Return a system which creates a receipt for user's cart including functions like add product, remove product, add discount. Follow up: how would you implement clear all (remove all items from cart).
System Design: You will be asked a mobile specific question if you are interviewing for Mobile role. I was asked to design an app for a KIOSK at a music festival which constantly displayes images being captured at the event. Follow up: add function to filter and display images by hour/ day, how would you fetch if there were 1 million pictures being uploaded to the backend daily.
LP: All behavioral questions. Easily found on Amazon LP articles on Leetcode.
Coding: Given a reference URL, a target URL and a list of URLs, find if there is a transitive relationship between reference and target url. For example: www.google.com -> www.amazon.com/1, www.amazon.com/1 -> www.amazon.com/2 among other urls, return true if you can reach www.amazon.com/2 from www.google.com.
Tried solving it using DFS.
Coding: Given a list of Entries (string, string) sorted by their keys, return a sorted list of entries when another list is added to the original list. For example:
Given: { "cat" : "feline", "dog" : "mans best friend"}
Add : { "elephant" : "huge", "zebra" : "stripes" }
result: { "cat", "dog", "elephant", "zebra"}