Upstart Interview Question

binary tree, linked list cycle, graph question to find shortest distance