Desarrollador Python Junior Interview Questions

716,746 desarrollador python junior interview questions shared by candidates

You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).
avatar

Programmer

Interviewed at IG Group

2.9
Feb 27, 2010

You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).

You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
avatar

Software Development Engineer

Interviewed at Microsoft

4
Sep 8, 2010

You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.

Viewing 1421 - 1430 interview questions

Glassdoor has 716,746 interview questions and reports from Desarrollador python junior interviews. Prepare for your interview. Get hired. Love your job.