Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices that form the longest simple path in a directed graph.

Run the code to see the output here...