String Processing in Python: Is Palindrome

Опубликовано: 01 August 2026
на канале: LucidProgramming
12,493
131

In this video, we will be considering how to test whether a string is a palindrome in Python. We will be doing this using a linear amount of time and a constant amount of space.

We will cover how to solve this problem algorithmically, and then code up a solution to this question in Python.

This video is part of a series on string processing and, specifically, on how these problems tend to show up in the context of a technical interview:
http://bit.ly/lp_string

This video is also part of an "Algorithm" series. For more algorithm tutorials:
http://bit.ly/lp_algos

The software written in this video is available at:
https://github.com/vprusso/youtube_tu...

Do you like the development environment I'm using in this video? It's a customized version of vim that's enhanced for Python development. If you want to see how I set up my vim, I have a series on this here:
http://bit.ly/lp_vim

If you've found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe:
http://bit.ly/lp_subscribe