11 AnswersNew Answer
11 AnswersNew Answer
NIVEDITA KUMARI data structure and algorithms, can implement by any languages so for developing data structure algorithms you can use any language as your comfort. you can use C or C++ if you have started from this as you already knows some concepts of C.
Depends on what you want to build,python for simplicity and faster prototyping. C++ for speed in case the code is heavy on the cpu,check out cython if you want the best out of both worlds
NIVEDITA KUMARI data structure can be implement by any languages which you want, so for developing data structure algorithms you can use any language as you are expert in it. you can use C++ or python as you wish.
I'm not sure I completely understand the question. You need data structures in both Python and C++ to solve non-trivial problems. If you had asked what is better out of Python and C++ to solve a particular problem, that would have made sense.
NIVEDITA KUMARI As i have read python from different sources like freeCodecamp , sololearn etc i have realise that python has better data structure
I would definitely say python is good for data science but if you are familiar with c++ and c they are closely related with pointers and structures that make them somewhat complex for a newbie developer to establish a good database but surely if you are highly experienced in memory management techniques although python doesn't require pointer they are slow in processing data in comparison with c because they are scripting language
NIVEDITA KUMARI You should just use the language your most comfortable with. I find C++ to be a better choice when writing data structures and algorithms[I'm really into game and system programming],so it's what i stuck with. If you prefer python then you should use it.
As far as i know, python is better than C++. As it's easy, fast and simple to learn and understand. But ultimately choice is yours.
For data structure u should use python. It is easy, lack of codes require to implement any logic and ofcourse a huge community is working on..
Sololearn Inc.4 Embarcadero Center, Suite 1455
Send us a message