Maximum Odd Binary Number Leetcode Solution Extension