TheAlgorithms/Julia

Problems in binary length

PraneethJain opened this issue · 0 comments

binary_length.jl
Shouldn't this be in the math folder as this has not much to do with strings? The input is being parsed to an integer type and the output is being converted to a string. Rather, we should just have input and output both as integers. Also, the time complexity for the second function is O(logn), rather than the stated O(n).