621. Task Scheduler - Day 28/31 Leetcode July Challenge

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

Did you have any trouble scheduling this problem?

Note: I was wrong on the space complexity, it's a little late - it should be O(cooldown + alpha), where cooldown is the input cooldown, and alpha is the number of characters in the alphabet, which is 26.

Algorithmist
Автор

Larry, you code is very hard to understand. What is the cycle invariant?

Igorryy
join shbcf.ru