Available question text
Given a rooted tree with a character on each node, for every node i form the post-order DFS string obtained by recursively visiting its children in increasing index then appending the node's character, and return whether that string is a palindrome for each node. The core challenge is to decide this efficiently for all nodes (n up to 1e5) without rebuilding each traversal string from scratch.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3327. Check if DFS Strings Are Palindromes
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source