Python Syntax for Leetcode in 13 minutes (Getting started with Leetcode)

preview_player
Показать описание

In this video we go over the best syntax to know when dealing with Python to solve leetcode questions. All of the code I mention is all super useful when using Python to tackle interview questions and do the best on your programming interviews. Hope you enjoyed!
Рекомендации по теме
Комментарии
Автор

straight to the point. thank you! keep up the good work

HaiNguyen-rmii
Автор

Really helpful video, thank you. Starting to practice leetcode now, I've been learning Dart and Flutter for my current job, have had some experience back then with JS and the web stack but I'm not comfortable solving these kind of problems with those languages. I feel like Python has a much more simple yet understanding syntax. Seems great to practice problem solving and therefore maybe help me land a better job in the future

sykoz
Автор

I think this is Python for LC, not Python3. Is there a Python3 video that uses the typing ("type hints")?

foobash
Автор

class ListNode: ... will do, no more class ListNode(object): ..., it's for python2 only

shawnshaw
Автор

better way to reverse a string
reverseString = "".join(list(str)[::-1])

vikassharma-thkn