UKG Interview Question

Leetcode: Convert Binary Number in a Linked List to Integer