Back to Browse

Largest Odd Number in String - LeetCode 1903 - Solution Explained

9.2K views
Jul 7, 2021
5:14

You are given a string num, representing a large integer. Return the largest-valued odd integer (as a string) that is a non-empty substring of num, or an empty string "" if no odd integer exists. A substring is a contiguous sequence of characters within a string. LeetCode Reference: https://leetcode.com/problems/largest-odd-number-in-string/ #LargestOddNumberInString #LeetCode1903 #LeetCode #Google #Amazon #Facebook #Microsoft

Download

0 formats

No download links available.

Largest Odd Number in String - LeetCode 1903 - Solution Explained | NatokHD