Company: DealShare
Difficulty: medium
Alphabetical strings Problem Description While creating an account on a new website, you choose a certain string of letters as your password. However, you are alerted that the website requires your password to be an alphabetical string. It explains, 'A string of lowercase letters is called alphabetical if deleting zero or more of its letters can't result in the alphabet string abcdefghijklmnopqrstuvwxyz '. Because of this requirement, you need to ensure that your password is alphabetical. Find the minimum number of letters that must be inserted in order to make your password alphabetical. Function description: Complete the solve function. This function takes the following parameter and returns the minimum number of letters that must be inserted in order to make your password alphabetical. s : Represents a string that denotes s Input format for custom testing: Note: Use this input format if you are testing against custom input or writing code in a language where we don't provide boilerp