132. Palindrome Partitioning II

  • dp: current status[j] depends on previous status[0, i-1] + isPalidrom[i, j]

459. Repeated Substring Pattern