Implement an Unrolled Linked List

Implement an unrolled linked list that supports global-index lookup and insertion.

The structure is a singly linked list of nodes. Each node contains:

  • a fixed-capacity array data of size B...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: