Lead Software Engineer Interview Questions

2,135 lead software engineer 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 1771 - 1780 interview questions

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