Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Traverse the linked list from the least significant digit to the most significant digit and multiply each node's value by 2
Handle any carry-over digits that may arise during the doubling process.
If there is a carry-over digit on the most significant digit, create a new node with that value and point it to the start of the given linked list and return it.