Available question text
Given a binary tree whose node values 0–25 map to letters 'a'–'z', return the lexicographically smallest string formed by the characters along any path from a leaf up to the root (concatenated leaf→root). The core challenge is comparing these reversed root-to-leaf paths lexicographically to pick the minimum (tree size ≤ 8500).
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 988. Smallest String Starting From Leaf
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source