+ 10

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

2nd May 2019, 1:18 PM
NIVEDITA KUMARI
NIVEDITA KUMARI - avatar
11 odpowiedzi
+ 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.
2nd May 2019, 1:27 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 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
2nd May 2019, 3:49 PM
Radu Baloi
Radu Baloi - avatar
+ 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.
3rd May 2019, 5:22 AM
Sayed Anwar Shahen
Sayed Anwar Shahen - avatar
+ 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.
3rd May 2019, 4:52 AM
Sonic
Sonic - avatar
+ 4
NIVEDITA KUMARI As i have read python from different sources like freeCodecamp , sololearn etc i have realise that python has better data structure
2nd May 2019, 4:30 PM
RISHABH MISHRA
RISHABH MISHRA - avatar
+ 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
2nd May 2019, 1:30 PM
Buddha Nag
Buddha Nag - avatar
+ 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.
3rd May 2019, 11:41 AM
Mensch
Mensch - avatar
+ 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.
5th May 2019, 7:32 AM
Mir Anish
Mir Anish - avatar
+ 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..
5th May 2019, 8:02 AM
vijay
vijay - avatar
0
كيفكم
3rd May 2019, 10:58 AM
Bozan Ararat
Bozan Ararat - avatar
0
So you
3rd May 2019, 4:48 PM
Kevin Muthy
Kevin Muthy - avatar