Amazon OA | SDE1 | Canada
Anonymous User
2888

Taken on March 8 2022.

Q1. Find the password strength.
For each substring of the password which contains at least one vowel and one consonant, its strength goes up by 1.
vowels={'a', 'e', 'i', 'o', 'u'}, and rest of letters are all consonant.
(Only lower alphabet letters)

Solution already here https://leetcode.com/discuss/interview-question/1471459/Amazon-OA

Q2. https://leetcode.com/discuss/interview-question/1488397/amazon-oa-sde-us

which is similar to https://leetcode.com/problems/sequentially-ordinal-rank-tracker/

Comments (1)