I created a tool that will let you easily visualize graph problems’ input. I have used the same format as used by most of the problems.
Originally I created this for leetcode. I have recently updated it to accept plain text input as well so I’m sharing this here as well.
DEMO — https://shubham.awasthi.dev/graph-visualizer/
Code — https://github.com/awasthishubh/graph-visualizer
Sample Questions whose input graph array can be just copy/paste to visualize.
https://www.codechef.com/problems/COTA
https://www.codechef.com/problems/GENTHRU
https://www.codechef.com/problems/HGNEG
https://www.codechef.com/problems/HW3H
https://www.codechef.com/problems/MAPTC
Let me know if you have any thoughts, comments or suggestions.
Give it a star on Github if you find it helpful.
Thank You.