String Processing in Python: Is Palindrome Permutation

preview_player
Показать описание
In this video, we will be considering how to determine if a string is a palindrome permutation. Specifically:

Given a string, we wish to write a function to determine if it is a permutation of a palindrome.

Recall:

Palindrome: A word or phrase that is the same forwards and backward.

Permutation: A rearrangement of letters.The palindrome does not need to be limited to just dictionary words.

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:

This video is also part of an "Algorithm" series. For more algorithm tutorials:

The software written in this video is available at:

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:

If you've found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe:
Рекомендации по теме
Комментарии
Автор

I became addicted to your lessons :). thank you very much

tareqoweinat
Автор

Very efficient and understandable ! Thank you for posting this.

swatiyenneti
Автор

def intersect_sorted_array(A, B):
A = sorted(set(A))
B = sorted(set(B))
common = []
for i in A:
for j in B:
if i==j:
common.append(i)
return common

Roblox
Автор

you have 7 videos are these all there is in the cracking the coding interview book in terms of problems.

khalid
Автор

brother help us the video how to change this number 76896 to replac 2 to remove 8 to be come like this 76296 using python.

johnmwansa
Автор

What is the odd_count for? I didn't understand the logic

shreyaagrawal