Goldman Sachs interview question

they asked me about recursion,graphs..