Which is better data structure using python or data structure using c++?? | Sololearn: Learn to code for FREE!

+10

Which is better data structure using python or data structure using c++??

5/2/2019 1:18:13 PM

NIVEDITA KUMARI

11 Answers

New Answer

+10

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.

+8

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

+7

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.

+5

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.

+4

NIVEDITA KUMARI As i have read python from different sources like freeCodecamp , sololearn etc i have realise that python has better data structure

+2

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

+1

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.

+1

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.

+1

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..

0

كيفكم

0

So you