---
title: "Discussion on \"Palindrome Partitioning\" | Hashnode"
description: "Discussion on \"Palindrome Partitioning\". Explain the Problem\nGiven a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s.\nExample:\nInput: s = \"aab\"\nOutput:\n[\n  [\"a\", \"a\", \"b\"],\n  [\"aa\", \"b\"]\n]\n\n\nAwesome! Let's mo..."
url: "https://hashnode.com/posts/palindrome-partitioning/667c883e5b715206cdde9f39"
---

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

Discussion

# [Palindrome Partitioning](https://lietcode.hashnode.dev/palindrome-partitioning?utm_source=hashnode&utm_medium=feed)

Explain the Problem Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: Input: s = "aab" Output: \[ \["a", "a", "b"\], \["aa", "b"\] \] Awesome! Let's mo...

Jun 26, 2024 · 3 min read · lietcode.hashnode.dev  
Read the article

-   [#backtracking](https://hashnode.com/tag/backtracking)

## Written by

[Abhi](https://hashnode.com/@lietcode)

@lietcode

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

Let's crack the interviews

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
