Leetcode Convert Binary To Base