Bank Technology Interview Questions

3,434 bank technology 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 341 - 350 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,434 interview questions and reports from Bank technology interviews. Prepare for your interview. Get hired. Love your job.