Skip to content

Return the largest-valued odd integer (as a string) that is a non-empty substring of num.

Notifications You must be signed in to change notification settings

JohnCanessa/LargestOddNumberInString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

LargestOddNumberInString

Return the largest-valued odd integer (as a string) that is a non-empty substring of num.

LeetCode 1903. Largest Odd Number in String https://leetcode.com/problems/largest-odd-number-in-string/

In this problem we are looking to return the largest odd integer in the specified num string.

If integersted in my comments and approach, I invite you to read the following post in my blog:

https://www.johncanessa.com/2021/06/30/largest-odd-number-in-string/

Keep in mind that one of the best ways to learn is to read and experiment. Remember that practice makes perfect.

Enjoy;

John

About

Return the largest-valued odd integer (as a string) that is a non-empty substring of num.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages