Python Programming Practice: LeetCode #13 -- Roman to Integer

preview_player
Показать описание
This episode of Python Programming Practice shows two approaches to LeetCode LeetCode - #13 Roman to Integer

This is an easy difficulty problem.

Note that the intent of this series to help viewers think through approaches to problems, not to provide copy/paste access to code that will pass LeetCode tests.
Рекомендации по теме
Комментарии
Автор

please do share leetcode solution videos regularly...it helps a lot to build the programming concept. You are doing a great work.

sreejaroy
Автор

Thank you! So far my plan is to pause your video, try to solve the problem on my own and submit, resume video whether I am able to solve or not. Knowing I can always come back to your solution gives me peace

NitinSatish
Автор

the second solution of going against the craziness of Roman procedure is quite interesting lol

DucNguyen-sdmn
Автор

Thank you for uploading this video. You are the best at making LeetCode tutorial videos!

yugosaito
Автор

My brain just can't understand how second solution is supposed to be FASTER with all those pre-replacements, than just once backwards loop.

dmytrozazulin
Автор

He explains thing super well and clearly!

itsReshad
Автор

This playlist has been really helpful, thank you so much!

ThColinPereira
Автор

Thank you so much. This was very helpful and easy to understand.

penninahgathu
Автор

mine is giving:
Line 2: Char 5: error: expected class name
def romano(self, s: str) -> int:
^

NaitroExtrime