SAP Interview Question

1) Given a linked list which contains a binary number. Convert it into decimal form.