/intuition-ai-code-challenge

Code challenge for intuition.ai

Primary LanguagePython

Code Challenge - Intuition.ai

Code challenge solution for intuition.ai

Problem Statement

  • Find root nodes (0 in degree) in given Directed Acyclic Graph (DAG)
  • Find all paths emanating from all root nodes found above

Input and Output

  • Input is specified in the data/input.txt file
  • Output is written to the data/output.txt file
  • Output is also printed to the console

Running Instructions

Navigate to root directory and run the following command.

  python solution.py

The program prints the output to the console and writes it to data/output.txt

Author