Closed
Description
Implementation of CycleDetection.js seems inappropriate.
- Weird function name
main()
and its invocation can cause the program to crash. - Tests are missing.
- Not exported, Hence not resuable.
- Can be optimized further (Optional)
Implementation of CycleDetection.js seems inappropriate.
main()
and its invocation can cause the program to crash.