Implement a k-nearest neighbors algorithm. | Amazon Interview Question | Practice Free | SkillVee