Empresa engajada
Give the type of a binary tree and an algorithm to compute its depth
Sigiloso
type 'a tree = Leaf | Node of 'a * 'a tree * 'a tree let depth = function | Leaf -> 0 | Node (_, left, right) -> 1 + max (depth left) (depth right)
rec
You wrote that you declined the offer, not that you weren't given an offer. :P
heh.. probably why I didn't get the job :P
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.