An alphabetical continuous substring is a substring consisting of consecutive letters of the English alphabet appearing in alphabetical order. For example, "abc" is alphabetical continuous, whereas "acb" and "za" are not.
Given a string s consisting of lowercase English letters, return the length of the longest alphabetical continuous substring.
Constraints:
s.length
s consists of only English lowercase letters.
An alphabetical continuous substring is a substring consisting of consecutive letters of the English alphabet appearing in alphabetical order. For example, "abc" is alphabetical continuous, whereas "acb" and "za" are not.
Given a string s consisting of lowercase English letters, return the length of the longest alphabetical continuous substring.
Constraints:
s.length
s consists of only English lowercase letters.