---
title: "Discussion on \"LeetCode 647 Palindromic Substrings - Three  Solution from O(n³) to O(n) - (Med, Java)\" | Hashnode"
description: "Discussion on \"LeetCode 647 Palindromic Substrings - Three  Solution from O(n³) to O(n) - (Med, Java)\". 647. Palindromic Substrings\n\nWhen tackling LeetCode 647 (Palindromic Substrings), there are multiple ways to solve the problem. Today, I'll walk through three distinct approaches: the Brute Force method, the Expand Around Centers technique, and the a..."
url: "https://hashnode.com/posts/leetcode-647-palindromic-substrings-three-solution-from-on3-to-on-med-java/686cb7aeab964ccef469639a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 647 Palindromic Substrings - Three Solution from O(n³) to O(n) - (Med, Java)](https://huanganni.hashnode.dev/leetcode-647-palindromic-substrings-three-solution-from-on3-to-on-med-java?utm_source=hashnode&utm_medium=feed)

647\. Palindromic Substrings When tackling LeetCode 647 (Palindromic Substrings), there are multiple ways to solve the problem. Today, I'll walk through three distinct approaches: the Brute Force method, the Expand Around Centers technique, and the a...

Jul 8, 2025 · 6 min read · huanganni.hashnode.dev  
Read the article

-   [#manachers-algorithm](https://hashnode.com/tag/manachers-algorithm)
-   [#expand-around-centers](https://hashnode.com/tag/expand-around-centers)
-   [#palindrome](https://hashnode.com/tag/palindrome)
-   [#palindrome-in-strings](https://hashnode.com/tag/palindrome-in-strings)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#java](https://hashnode.com/tag/java)
-   [#brute-force](https://hashnode.com/tag/brute-force)

## Written by

[Anni Huang](https://hashnode.com/@HuangAnni)

@HuangAnni · Singapore

  
[View profile](https://hashnode.com/@HuangAnni)

LLM Training Operation Specialist @ ByteDance | Ex-Master of IT in Business (AI track) at SMU

I’m Anni Huang, an AI researcher-in-training currently at ByteDance, specializing in LLM training operations with a coding focus. I bridge the gap between engineering execution and model performance, ensuring the quality, reliability, and timely delivery of large-scale training projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
