Junior Software Developer Interview Questions

19,698 junior software developer 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 1851 - 1860 interview questions

Glassdoor has 19,698 interview questions and reports from Junior software developer interviews. Prepare for your interview. Get hired. Love your job.