Software Engineer At Interview Questions

665,112 software engineer at interview questions shared by candidates

Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it.
avatar

Software Engineer Intern

Interviewed at Meta

3.6
Feb 17, 2012

Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it.

Viewing 631 - 640 interview questions

Glassdoor has 665,112 interview questions and reports from Software engineer at interviews. Prepare for your interview. Get hired. Love your job.