Maximum Odd Binary Number Leetcode Solutions Python