Largest Odd Number in String

Try to solve the Largest Odd Number in String problem.

Statement

You are given a string, num, which represents a large integer. Your task is to find the largest odd-valued integer that can be formed as a non-empty ...