Question d’entretien chez Meta

Create a function that validates whether you a given string is a number

Réponses aux questions d'entretien

Utilisateur anonyme

14 nov. 2017

Create a function that finds the longest path between two nodes existing in a binary tree

Utilisateur anonyme

28 juill. 2018

The longest path in a tree is max(1+height left subtree + height right subtree, max(longest(left subtree), longest(right subtree)))