shivangdubey / HacktoberFest2020

Repository to let enthusiasts create issues and pull requests for the Open Source event
MIT License
35 stars 278 forks source link

Leet Code Palindrome Question #538

Closed notS0LD13R closed 1 year ago

notS0LD13R commented 1 year ago

Given a palindrome , the function should return the the lexicographically smallest string that is not a palindrome by changing one character. The concept used in my code is that either the left most non "a" char should become an "a" character or the rightmost element should become "b" in case all elements are "a".

shivangdubey commented 1 year ago

Hello, this repository was created for Hacktoberfest 2020 and is no longer active.