Is c++ better for competitive programming? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Is c++ better for competitive programming?

In my university, we are learning c++, i know too much about programming with c#, but now i really want to upgrade my skills, i want to go for algorithms, data structures and all that stuffs. Is c++ better for that.

20th Apr 2021, 6:11 AM
umar_baloch
umar_baloch - avatar
4 Respostas
+ 1
Not really. The language you're comfortable with is the best (for you) for competitive programming or programming of any kind. If you know C#, you can do it with that too. C++ is generally faster than garbage collected languages like C#, but that speed difference won't really matter. ŠÆрŠ¾ŃŠ»Š°Š² Š’ŠµŃ€Š½ŠøŠ³Š¾Ń€Š°(Yaroslav Vernigora) The OP never asked about machine learning or artificial intelligence or data science....
20th Apr 2021, 6:57 AM
XXX
XXX - avatar
0
Hi! python is more suitable for data structures, machine learning, and artificial intelligence. it is lighter. take a look at the "learning" section here and you will find a section dedicated to data science
20th Apr 2021, 6:22 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Apparently yes, I confused data structures with data science
20th Apr 2021, 7:05 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
C++ is best for competitive programming it has stl which make your way easier in writing code
6th May 2021, 1:40 PM
YUGRAJ