3029. Minimum Time to Revert Word to Initial State I (Leetcode Medium)
Vložit
- čas přidán 2. 02. 2024
- 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!
Problem: leetcode.com/problems/minimum...
Twitch: / larryny
Discord: / discord
Instagram: / larrysomewhere
#leetcode #coding #programming - Věda a technologie
Did you revert the word?
Thanks for the intuition!!
Great explanation of intuition ♥
Man, what a solution, how do I gain this type of intuition? I wasted my time figuring out what characters to add in the end. :(
to be honest it just came to me, but a lot of practice will help for it
Thank you...👍
it took me 50mins of frustration to figure this one out@@vickydas6480
I didn't understand the answer at first. But then I did! I don't have a high mathematical base, so I'll just have to practice. Can I ask you a question about the strategy of learning algorithms, there is such a practice: "If you haven't solved the problem in 15 minutes, then look at the solution and work it out, then in a similar problem you will know what to do", i.e. don't get stuck on the problem for hours (or days). Is the strategy good, and how did you practice?
I think in these cases, it's better to have a partner (or a discord!) who can tell you for each problem. Some problems you need to learn something new, but others you should be able to solve, given more time. 15 minutes is nothing.
how can i solve 4 question in contest how can i increase my intuition power
just more practice!
nice