...

/

Solution: Largest Palindromic Number

Solution: Largest Palindromic Number

Let’s solve the Largest Palindromic Number problem using the Greedy pattern.

Statement

You are given a string num consisting of digits from 00 to 99. Your task is to return the largest possible palindromic number as a string by using ...

Access this course and 1400+ top-rated courses and projects.