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