Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3327. Check if DFS Strings Are Palindromes
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.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.