add: dfs test, and code fixes

This commit is contained in:
2026-03-12 23:08:53 -07:00
parent dc9bb41cce
commit 8e36afbf67
5 changed files with 341 additions and 72 deletions

9
samples/dfs.rpg.stdout Normal file
View File

@@ -0,0 +1,9 @@
DSPLY Starting DFS to find Node 9...
DSPLY Visiting: 1
DSPLY Visiting: 2
DSPLY Visiting: 4
DSPLY Visiting: 8
DSPLY Visiting: 3
DSPLY Visiting: 5
DSPLY Visiting: 9
DSPLY *** MATCH FOUND! ***