How Data Structure related with C ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 92

How Data Structure related with C ?

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

12th Jul 2019, 6:48 PM
Vinesh Wadhwani
Vinesh Wadhwani - avatar
18 Answers
13th Jul 2019, 6:49 PM
Vinesh Wadhwani
Vinesh Wadhwani - avatar
+ 16
Data structures are Structures in which data can be store. Data structures can be implemented using Programming Languages
17th Nov 2019, 9:39 AM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 16
Algorithms are step by step Solution of the operation.
17th Nov 2019, 9:40 AM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 15
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
12th Jul 2019, 6:59 PM
notqueued
notqueued - avatar
+ 13
Nearly every high level language has data structures. Not just C.
12th Jul 2019, 11:33 PM
Sonic
Sonic - avatar
+ 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/
13th Jul 2019, 6:13 AM
Om Kumar
Om Kumar - avatar
+ 7
because pointers first started with C
13th Jul 2019, 12:43 AM
Aditya
Aditya - avatar
+ 5
Google -> Data Structure in C Language is a Specialised format to organise and Store Data. Type Include Array , file , record, table,tree etc.
13th Jul 2019, 5:57 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
+ 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
13th Jul 2019, 10:23 PM
Baltazarus
Baltazarus - avatar
+ 2
From the general perspective,the well defined structures can reduce the scope or complexity of algorithm.
13th Jul 2019, 7:56 AM
Highman
Highman - avatar
+ 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
13th Jul 2019, 7:11 PM
Benjamin
Benjamin - avatar
+ 2
C
14th Jul 2019, 3:01 AM
Atmakuri Gayatri
Atmakuri  Gayatri - avatar
+ 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.
19th Jul 2019, 9:17 AM
dcodr
dcodr - avatar
+ 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.
23rd Jul 2019, 12:32 PM
Oliver Valiente Oliva
Oliver Valiente Oliva - avatar
+ 1
Data structures are concepts. You need to learn those with help of c and c++
24th Jul 2019, 5:39 AM
Vishnu D
Vishnu D - avatar
+ 1
Data stracture is just on how you organise and store your data in C
29th Feb 2020, 8:40 AM
Benjamin
Benjamin - avatar
- 4
هلوو
13th Jul 2019, 12:13 PM
اميرة بحجابي
- 4
منو عربي
13th Jul 2019, 12:14 PM
اميرة بحجابي