How to Partition a String into Palindromes using DFS Algorithm? August 7, 2020 algorithms, c / c++, DFS, recursive, string No Comments 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: “aab” Output: , ] … [Continue Reading...]