Find length of longest consecutive path from a given string character
Filed under HSBC
The question
Find the length of the longest path of consecutive characters starting from a given character in a matrix/string.
No write-up yet. Related questions below have one.
Related HSBC questions
Collected from public candidate posts and coding forums. Updated Nov 2026.