MINIMUM NUMBER OF MOVES TO MAKE PALINDROME | LEETCODE 2193 | PYTHON SOLUTION

  Рет қаралды 2,650

Cracking FAANG

Cracking FAANG

Күн бұрын

JOIN OUR DISCORD COMMUNITY: / discord
In this video we are solving a hard level Amazon interview question dealing with Leetcode's seemingly favorite string topic: Minimum Moves to Make Palindrome (Leetcode 2193).
This question is one of those that is tricky to figure out but the code is so simple and intuitive that once you see it, everything should just click and there you go.
TIMESTAMPS:
00:00 Intro
00:20 Question Prompt
00:45 Basic Example
02:25 Solution Intuition
07:49 Coding
12:25 Time/Space Complexity
13:50 Outro

Пікірлер: 12
@AngadSingh97
@AngadSingh97 29 күн бұрын
Awesome, thank you for explaining everything so neatly. Doesn't even feel like a Hard problem now.
@varunshrivastava2706
@varunshrivastava2706 Жыл бұрын
Unbelievable, I busted my ass for 2 long hours to think of a suitable algorithm yet couldn't solve it and you did it so elegantly.
@crackfaang
@crackfaang Жыл бұрын
It happens. I'd personally recommend just looking at the solution after 20 minutes and not wasting your time. Sometime when you see it, things just click and you'll always remember how to solve it
@akakartik
@akakartik Жыл бұрын
We wait for your videos 😄😄
@manishparab4427
@manishparab4427 Жыл бұрын
great solution and explanation buddy.
@neelakshisoni6118
@neelakshisoni6118 Жыл бұрын
Could u plz make a video on important topics and questions for Internship? and what else to study other than doing lc?
@Nature-pb9dh
@Nature-pb9dh Жыл бұрын
Really good explanation. Do come up with better examples next time. The noting of the edge case was great
@danielmelo6758
@danielmelo6758 Жыл бұрын
random comment!
@farzanaalaman3655
@farzanaalaman3655 Жыл бұрын
aabb abab abba 2
@nguyendatz
@nguyendatz Жыл бұрын
acturelly, you didn't prove how this algorithm that leads to the minimum moves.
@crackfaang
@crackfaang Жыл бұрын
I don’t ever prove answers. It’s not really necessary in an interview and a mathematical proof is a bit overkill to be honest
@StellasAdi18
@StellasAdi18 Жыл бұрын
Not as straight forward as you explained :)
MERGE K SORTED LISTS | LEETCODE 23 | PYTHON OPTIMAL SOLUTIO
19:33
Cracking FAANG
Рет қаралды 2,3 М.
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 8 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 38 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
LARGEST PALINDROMIC NUMBER | LEETCODE 2384 | PYTHON SOLUTION
14:56
Cracking FAANG
Рет қаралды 1,6 М.
How I Failed the Google Coding Interview (and lessons I learned)
14:24
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 265 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 858 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН