Domanda di colloquio di IXL Learning

Difference between a binary tree and a hash table?

Risposta di colloquio

Anonimo

28 ott 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.