Elevance Health Interview Question

Askes to write algorithm about DFS