Jump to content

anagram of a palindrome function


c_pattle

Recommended Posts

I need to write a function which comes two strings to find out if string 1 is an anagram or a palindrome

 

For example the function should return 1 for the argument "dooernedeevrvn", because it is an anagram of a palindrome "neveroddoreven". For argument "aabcba", your function should return 0.

 

I'm not really sure where to start so if anyone has done anything similar then any help would be great.  Thanks for any help. 

Link to comment
https://forums.phpfreaks.com/topic/219135-anagram-of-a-palindrome-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.