AppsFlyer interview question

Two sum Find all paths