Interview Guides
Given a directed graph of startup task dependencies, write a function that returns True if the graph contains a cycle and False otherwise. The input is a list of task names tasks and a list of directed edges dependencies, where each edge [a, b] means task a depends on task b.
1 <= len(tasks) <= 10^50 <= len(dependencies) <= 2 * 10^5[task, prerequisite]tasks