DEV Community

loading...

Discussion on: 30-Day LeetCoding Challenge (Day-1)

Collapse
ac000 profile image
Andrew Clayton

OK. I was maybe too subtle.

I was really just pointing out the fact that you posted C++ code to the #c topic, when you actually wanted the #cpp one...

Remember, C != C++, I see people conflating the two all too often...

Thread Thread
late_riser profile image
Sadi Author • Edited

Oh I see! My bad! Actually what happened is, I gave tag as 'c++' which I guess the editor cannot differentiate. It just omits the '++'. Now I have given cpp which works. Thanks for the correction though :)