Pergunta de entrevista da empresa Kaar Technologies

Difference between sorted and hashed table?