Leetcode Weekly Contest 407

preview_player
Показать описание
In this video, I do Leetcode Weekly Contest 407 and explain all four problems & solutions.

Erratum: ended up with rank 600-something, not 400-something. 🤷

LINKS 🔗

CHAPTERS 📚
00:00 Intro
00:27 Timelapse
00:37 Problem 1
03:18 Problem 2
05:46 Problem 3
09:07 Problem 4
20:10 Outtro

Music: Covert Affair and Lobby Time by Kevin MacLeod
Рекомендации по теме
Комментарии
Автор

This is an interesting solution for problem 4, but I am still trying to fully understand it. I can see how the location of a specific cut fully determines a set of subsets, and the number of steps we get for this given cut. However, I struggle to convince myself why one of the optimal solutions must exist among those provided by the cuts.

andreaslundin
Автор

could you please provide the codes here?

Rozy-ig
visit shbcf.ru