Available question text
Given a rope implemented as a binary tree where leaves hold characters/strings and internal nodes store the length (weight) of their left subtree, return the k-th character of the full concatenated string by traversing the tree using those weights to decide left vs right. Aim for O(height) time by comparing k to left-subtree weights and adjusting k as you descend.
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 2689. Extract Kth Character From The Rope Tree
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source