LeetCode 3133 - Minimum Array End - Java

preview_player
Показать описание
Solution, explanation, and complexity analysis for LeetCode 3133 in Java

Problem Description:

Code:
Рекомендации по теме
Комментарии
Автор

hey! Thank you for the video. But what's the intuition behind this? Is that just because you made up a large table and see the behavior that when index is 0 we fill nothing inside, when index is 1 you fill one 1 in and index is 2 you fill two 1s in and then you conclude that we have to fill n-1 1 into that given x? I really appreciate your response! Thank you

baophi