Leetcode 2414. Length of the Longest Alphabetical Continuous Substring
Given a lowercase string, return the length of the longest substring where each character is the immediate successor of the previous (i.e., consecutive letters like "abc"); string length can be up to 1e5.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.