Code challenge solution for intuition.ai
- Find root nodes (0 in degree) in given Directed Acyclic Graph (DAG)
- Find all paths emanating from all root nodes found above
- 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
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
- Tejas Nikumbh
- Email: tejnikumbh@gmail.com
- Skype: tjnikumbh