solving the HARDEST leetcode problem in 40 lines - Strong Password Checker

preview_player
Показать описание
LeetCode #420 "Strong Password Checker"

00:00 Problem Description
01:40 Irreducible Deletions
02:34 Insertions, Missing Types, and Repeating Characters
05:47 Prioritizing Deletions on Repeating Characters
06:58 Coding
Рекомендации по теме
Комментарии
Автор

Best teacher/lecturer I've had at Cal. Speaks volumes

vmsuopi
Автор

Most clear walkthrough (and done in the least amount of time) on strongest password checker i've seen. Thank you.

voyeges
Автор

I have come to this intuition by myself but i couldn't handle the case where length is greater than 20

amanfreecs
Автор

Sorry how is Case 1 a total of 3 ?

Original AAABBB

You are missing 2 types lowercase and a digit.

So add a lower case and a digit to break up the substrings

Edited AAcABB1B

That's is a total of 2 changes ?

timeprotector
join shbcf.ru