Junior Software Engineer Interview Questions

6,778 junior software engineer 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 801 - 810 interview questions

Glassdoor has 6,778 interview questions and reports from Junior software engineer interviews. Prepare for your interview. Get hired. Love your job.