Twilio | Staff Analytics Engineer (Staff) | Coding | Online Assessment

BJbjack21·
Interview Date:July 8, 2026Region:NA (North America)Hiring Team/Org:GTM Data Solutions & Insights

Implement a function that divides an array into pages of equal size and return a generator to iterate thru pages. Your function should implement a generator called create paginator that yields subarrays (pages) of the origin array, with each subarray having specific page size. Example: Input: items= [1,2,3,4,5] pageSize = 2 Output: Generator yields: 1st iteration: [1,2] 2nd iteration: [3,4] 3rd iteration: [5]

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.