Junior Associate Interview Questions

2,517 junior associate interview questions shared by candidates

In C++, given a vector of Player objects, if you are given an index of the current player, return a vector with the floating-point distances to each other player at their respective index. For the index of the current player, the distance can be zero. Assume the Player type defines public members x and y. Do what you can to make it as efficient as possible.
avatar

Junior Associate Software Engineer

Interviewed at NetherRealm

4.1
Apr 3, 2025

In C++, given a vector of Player objects, if you are given an index of the current player, return a vector with the floating-point distances to each other player at their respective index. For the index of the current player, the distance can be zero. Assume the Player type defines public members x and y. Do what you can to make it as efficient as possible.

Viewing 281 - 290 interview questions

Glassdoor has 2,517 interview questions and reports from Junior associate interviews. Prepare for your interview. Get hired. Love your job.