Pergunta de entrevista da empresa IXL Learning

Difference between a binary tree and a hash table?

Resposta da entrevista

Sigiloso

28 de out. de 2011

A binary tree is a data structure in which each element, except for the root, is positioned in relation to the previous element. And since it is binary there can be only two positions for each element. A hash table is a data structure that maps its elements based on some type of key that represents that element.