Problem 3327 · Hard

Check if DFS Strings Are Palindromes

Build each node string from its children in order followed by its own letter, then test that string for a palindrome.

Open the interactive visualisation