Frage im Vorstellungsgespräch bei Amazon

Tree-structure and optimization-based algorithm questions.