Java String Length Time Complexity Of Binary And Octal Converter