← 返回 coinbase 的题目列表Query Pagination
类型:online_judge
Design a pagination function for a database system. Given a set of query results and pagination parameters, implement a function that returns the results for a specified page.
Example
Input
getPage(data, pageNumber=2, pageSize=5)
Output
[6, 7, 8, 9, 10]