Ender (TX) Interview Question

Coding question about graph traversal