Domanda di colloquio di Meta

Given a binary tree containing integer data and an integer S, find a path from root to node who's data values add up to S.

Risposta di colloquio

Anonimo

14 ott 2017

Use DFS