Lets start by this is not my professor its a colleague of my good friends professor (he can see the discussion group)
(Meanwhile this is a discussion board everyone can see xD)
1. Kid states this:
Code:
if (I run my code in Windows with GCC ) everything is right;
if (same code in MacOSX with clang) assertion fail in testing the Levenshtein distance of "12345678901", "123456789012".
Why this happen :frowning:
2. The professor replied saying "it's most likely due to his array size not being correct and the program accessing outside memory and crashing"
3. The kid replies and says
4. The Prof comes back as a savage