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.

Interview Answer

1 Answer


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.