Skip to content

Depth First Search returns Path 0 when two cities are directly adjacent #2

@MajorPing5

Description

@MajorPing5

When testing if two cities are able to be found, a distance of 0 is returned if and only if the cities being tested are directly adjacent to each other in DFS. Use unit testing to verify what the core issue is and correct it from there.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions