Pergunta de entrevista da empresa Microsoft

The question is to implement the pick k nearest items from a database. Give some acceleration tips for the situation.

Resposta da entrevista

Sigiloso

18 de mai. de 2017

Coding online in cpp. First get the Euclid distance of each items, then return the idx of the first k elements.