A recruiter a shared the following question that was asked during a coding interview. I am not sure what this means. she doesnt have much clue either. can anyone please help?
The problems was the "distance calculation" missing absolute value. also the word1,2 Loc need be reset to 0s when they are compared.