Appian interview question

Graph and recursion coding questions.