Linked List to Integer
ultimatecoder2 opened this issue · 4 comments
ultimatecoder2 commented
Given an array of binary number, you need to store it in a linked list, with each element of array being a node of link list.
Now this linkedlist represents a binary number. You need to return the number in base 10.
Sample TestCase 1
Input: [1,0,0]
Output: 4
Sample TestCase2
Input: [1,0,1]
Output: 5
Deeksharora commented
Can you please assign me this issue. I want to work on it.
douly20 commented
@ultimatecoder2 I have raised a PR for this issue.Please check
ultimatecoder2 commented
@Deeksharora Can you please solve it in any other programming language. (any language except java will work)
nilnguyenkl commented
Please contact me, I want to work on it