Skip to content

Conversation

@shafiemukhre
Copy link

File Modified: 0005-longest-palindromic-substring.py

  • Language Used: python
  • Submission URL: https://leetcode.com/problems/longest-palindromic-substring/submissions/945080908/
  • Reason:
    • Optimizing the space complexity: the substring slice operation created extra space. Before O(N) extra space, after O(1) extra space. (Please ignore this PR if the standard practice is to maintain the first solution exactly as the video in the youtube channel despite if it's not the most optimize approach.)

Important

Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant