Onsite
Phone Screen Package Installer, Onsite Topological Sort
AmazonSoftware Engineer · Onsite · Jul 2026
Phone Interview Given a mapping (Map / Adjacency List) of software packages and their dependencies, write a class or method to install a specified package along with all of its dependencies. Assume each package object has an install() method that only installs that package itself and does not handle its dependencies. Need to implement an installWithDependencies(package) method that makes sure all…
Shared by a candidate · reported Jul 2026. Interview formats change; use it as a guide, not a script.