How Data Structure related with C ? | SoloLearn: Learn to code for FREE!

+92

How Data Structure related with C ?

What is Data Structure? Is concept of Algorithm and Data Structure same ?

7/12/2019 6:48:53 PM

Vinesh Wadhwani🇮🇳

21 Answers

New Answer

+70

Thank you so much my Friends🙏😊🙏 ~ swim ~ Sonic Om Kumar notqueued Maggie Smith Pankaj Kumar Maurya Highman benjamin ouma

+31

Vinesh Wadhwani🇮🇳 Data Structure are about container (storage) of data and their organization for efficient access and modification through set of functions defined to operate on them. e.g. Stack, Queue, Set, Map etc. Algorithms are about manipulating of data in variety of ways to achieve a specific result. Data Structures and Algorithms are independent of programming languages though some languages offer more efficient ways of storing and manipulating data directly through their inbuilt features.

+15

Data structures are Structures in which data can be store. Data structures can be implemented using Programming Languages

+15

Algorithms are step by step Solution of the operation.

+14

algorithm denotes a set of rules while the data structure represents the way data is defined/stored. this is one of the most rudimentary explanation that shows the main difference between them

+12

Nearly every high level language has data structures. Not just C.

+12

Data Structure is way to orgainse data to accomplish a task by applying some algorithm required for the program. Some data structure are better suited for a particular algorithm than others. So one needs to have practical knowledge about their usage to build an efficient program. There is a brief lesson on Data Structure https://www.sololearn.com/learn/773/?ref=app And a few algorithms are discribed in this lesson https://www.sololearn.com/learn/774/?ref=app For further reading and free cources check this blog👇 https://www.freecodecamp.org/news/these-are-the-best-free-courses-to-learn-data-structures-and-algorithms-in-depth-4d52f0d6b35a/

+7

because pointers first started with C

+5

Google -> Data Structure in C Language is a Specialised format to organise and Store Data. Type Include Array , file , record, table,tree etc.

+5

Data structures can be: Stack, Queue Graph, Tree Linked List, etc. With them you can store, organise,..., data. For example, if you want to create Binary Tree in C, you need struct if I precisely understood this question. If we talk about algorithms, you use them to solve certain problem, for example sort array. Linked Data Types Examples: https://code.sololearn.com/cyyXDF5aEucy/?ref=app https://code.sololearn.com/cVE3HRKtMBe0/?ref=app Algorithm example: https://code.sololearn.com/ck9B5Gs5m5fK/?ref=app

+2

From the general perspective,the well defined structures can reduce the scope or complexity of algorithm.

+2

Data structures is just the arrangement of data in the memory. ..Algorithms is the set of steps to follow... .data structures makes it more easier for one to translate a program into a c or c++ code

+2

+2

DATA STRUCTURE -. They are some defined ways to solve problems which are 1.efficient in storage 2.efficient with time ALGORITHMS -Its a way Writing solutions in short steps in rough notes , before you finally code in compilers.

+1

The data structure is basically a sequence of bytes that in C are indexed with keys to seal data and structure them, basically it is a trick that the compiler provides us with to give a bit of the sequence of bytes and locate that sequence bytes by that first name.

+1

Data structures are concepts. You need to learn those with help of c and c++

+1

Data stracture is just on how you organise and store your data in C

-4

-4

منو عربي