Microsoft Interview Question: The question is to implement ... | Glassdoor

Interview Question

Internship Interview Beijing, Beijing (China)

The question is to implement the pick k nearest items from

  a database. Give some acceleration tips for the situation.
Answer

Interview Answer

1 Answer

0

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

Interview Candidate on May 18, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.