added base graph logic for cycle detection

This commit is contained in:
2024-07-31 00:06:26 +05:30
parent 971698b318
commit 9bc0cb651d
5 changed files with 123 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ router.post(
createLinkValidator,
validate,
createLink
)
);
router.delete(
"/link",
@@ -31,5 +31,6 @@ router.delete(
removeLinkValidator,
validate,
removeLink
)
);
module.exports = router;