OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.53k stars 3.67k forks source link

Anagram Code in C Assumes Too Much About Inputs #3404

Open arnavb opened 6 years ago

arnavb commented 6 years ago

https://github.com/OpenGenus/cosmos/blob/fb89194e55a5b0f8bae3bc88fbd0234240ede783/code/string_algorithms/src/anagram_search/anagram_search.c#L19

If the inputs have spaces in them, then the possibility of an anagram still exists. For example, abcdef is an anagram of ace bdf even with different lengths.

arnavb commented 6 years ago

Anyone willing to take this on?

allie5 commented 6 years ago

@arnavb I can take this on if no one has

arnavb commented 6 years ago

@alliemoon Go for it! 👍 (Make sure to reference this issue!)

gsnsg commented 4 years ago

Hi , can I work on this issue ?

gsnsg commented 4 years ago

Hi I currently don't have time to solve this issue. can you remove my assignment ?