Amazon Interview Question

Questions based on linked list , graph -topological sort