0
I am at my wits end as to what I have done wrong in the following code for DFS. It works for very small graphs but outputs incorrectly as shown by adjacency list representation and the following code for example:
var vL = [4, 2, 3, 1, 5, 6, 7, 8, 9, 10];
var eL = [[8, 2], [10], [],[] , [3, 6], [...