1806. Minimum Number of Operations to Reinitialize a Permutation (Leetcode Medium)

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 reinitialize your excitement for this problem?

Algorithmist
Автор

A little bit too late, but I hope Larry will see this.

Thanks for the video, there are not so many channels I can learn from (Neetcode, Larry). One really great thing about Larry's videos is live programming. I personally didn't watch live part of the videos, because I am a beginner, but I understand that it is extremely beneficial for those who are already at some level of competitive programming.

About this video, I didn't actually understand the solution. What I have learned is that, it is tied to similar type of problems here and mainly it is intuition which comes from 100 solved similar problems. I wish to see a detailed overview of the problem and visualization, but I understand that making this type of content is time-consuming for sure, therefore it is my own goal to grasp the ideas. Thanks again, I would like to be a part of group of people, who are interested in learning/teaching leetcode!

vezzolter
Автор

This was mathy! I made it in 1h29 :D
My biggest issue was in proofing how big this cycles could go, i could n't so i tried a lighter approach but still took a lot of time

sloppyguy
Автор

hello bro just started with my first contest and was kind of stuck in this problem, could you pls help how to build the logic for these kind of problems

garvitrajpal
welcome to shbcf.ru