Course Schedule II at Arista Networks

Medium55.0% acceptance

This problem has 75.0% frequency at Arista Networks.

Problem Description

There are a total of `numCourses` courses you have to take, labeled from `0` to `numCourses - 1`. You are given an array `prerequisites` where `prerequisites[i] = [ai, bi]` indicates that you **must** take course `bi` first if you want to take course `ai`. * For example, the pair `[0, 1]`, indica...

Read full problem and hints

Topics

Also asked at 32 companies


More Arista Networks Questions

View all Arista Networks questions