Bank Interview Questions

5,743 bank 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 511 - 520 interview questions

Glassdoor has 5,743 interview questions and reports from Bank interviews. Prepare for your interview. Get hired. Love your job.