Unable to understand Bucket and implement it

i understood that we have to create a hashmap with the values as list of pages but what should be its key to identify them.

@shubh The key could be the page number in the bucket.

Now how should we define page number sir. Should we store pages or list as values because sir, if we store pages in hasmap t would be easy to number or i am getting something wrong here?

The page numbers would be like Bucket 1 - 1-100 pages, Bucket 2 - 101-200 pages. This numbering wouldn’t confuse you in any way.

1-100 pages means sir, do we have to store specific lines like 25 etc in one page and each such 100 pages in one key?

You have the liberty to choose how many lines you can keep in one page.

Closing this topic as there is no response since last 12 hours. Please feel free to create a new topic and post this question as a reference link in the description of the new topic.