Search⌘ K
AI Features

Largest Odd Number in String

Largest Odd Number in String asks you to choose a non-empty, continuous substring of a large integer and return the greatest odd value it represents as a string, or an empty string if none exists.

Statement

You are given a string, num, which represents a large integer. Your task is to find ...