Technology Associate Interview Questions

18,195 technology associate interview questions shared by candidates

Given a list and bucket size, write an algorithm which returns a list of lists each of which contains [bucket size] number of items. It's not guaranteed that the bucket size will evenly divide into the length of the list. How can you unit test this? What are the base/edge cases?
avatar

Associate Corporate & Investment Bank Technology

Interviewed at JPMorganChase

3.9
Sep 18, 2014

Given a list and bucket size, write an algorithm which returns a list of lists each of which contains [bucket size] number of items. It's not guaranteed that the bucket size will evenly divide into the length of the list. How can you unit test this? What are the base/edge cases?

Viewing 291 - 300 interview questions

Glassdoor has 18,195 interview questions and reports from Technology associate interviews. Prepare for your interview. Get hired. Love your job.