Subsequence in Binary Tree
Filed under Directi
The question
Given a binary tree (post-order) with characters at nodes, find the number of root-to-leaf paths containing a given string as a subsequence.
No write-up yet. Related questions below have one.
Related Directi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.