Lead Software Developer Interview Questions

2,139 lead software developer interview questions shared by candidates

Weighted Random Selection - given an array of numbers representing games, write a function to randomly pick a number but it must be weighted towards the numbers at the front of the array and it must all be possible that any number could be picked (just less likely that numbers towards the end will be).
avatar

Lead Software Engineer

Interviewed at Big Fish Games

3.5
Oct 17, 2013

Weighted Random Selection - given an array of numbers representing games, write a function to randomly pick a number but it must be weighted towards the numbers at the front of the array and it must all be possible that any number could be picked (just less likely that numbers towards the end will be).

Viewing 1781 - 1790 interview questions

Glassdoor has 2,139 interview questions and reports from Lead software developer interviews. Prepare for your interview. Get hired. Love your job.