2816. Double a Number Represented as a Linked List
You are given the
head
of a non-empty linked list representing a non-negative integer without leading zeroes.Return the
head
of the linked list after doubling it.
1 | /** |
2816. Double a Number Represented as a Linked List
You are given the
head
of a non-empty linked list representing a non-negative integer without leading zeroes.Return the
head
of the linked list after doubling it.
1 | /** |