Amazon Interview Question

Graph question rotten tomatoes question