C: Data structures and algorithms books of solved problems

In summary, for data structures and algorithms in C, I would recommend looking at programming books that have implementations of linked lists, trees, sorting and searching algorithms, graphs, recursion, and files. Additionally, the Java source tree and other programming languages like Python and Ruby may also have real-world implementations that can be useful to study.
  • #1
gruba
206
1
What books of solved problems (free in pdf) would you recommend for data structures and algorithms in C (linked lists, trees, sorting and searching algorithms, graphs, recursion, files)?

Note: I am not looking for theoretical books, but books of solved problems.
Thanks for replies.
 
Physics news on Phys.org
  • #2
We can't really help you here. Many programming books on Algorithms will have implementations of these types of constructs. In addition, the java source tree has real-world implementations that you can look at although they may be far more complex than you can imagine (efficiency makes code more difficult to follow). Other programming languages such as Python, Ruby ... are available with these types too.

Here's a wiki reference:

https://en.wikibooks.org/wiki/Data_Structures
 

Related to C: Data structures and algorithms books of solved problems

1. What are data structures and algorithms?

Data structures refer to the various ways of organizing and storing data in a computer so that it can be accessed and modified efficiently. Algorithms, on the other hand, are step-by-step procedures or instructions used to solve problems or perform tasks.

2. Why is it important to study data structures and algorithms?

Data structures and algorithms are essential in developing efficient and optimized computer programs. They help to solve complex problems and improve the performance of software applications. Furthermore, knowledge of these concepts is crucial for software engineers and computer scientists.

3. What is the difference between a data structure and an algorithm?

A data structure is a way of organizing and storing data, while an algorithm is a set of instructions or steps used to solve a problem. In simple terms, a data structure is the container, and an algorithm is the process that operates on the data in that container.

4. How can I improve my understanding of data structures and algorithms?

The best way to improve your understanding of data structures and algorithms is through practice. Solving problems and implementing different algorithms will help you gain a deeper understanding of how they work. Additionally, reading books and attending courses or workshops can also be helpful.

5. What are some common data structures and algorithms used in programming?

Some common data structures include arrays, linked lists, stacks, queues, trees, and graphs. Popular algorithms include sorting algorithms like merge sort and quicksort, searching algorithms like binary search, and graph traversal algorithms like depth-first search and breadth-first search.

Similar threads

  • STEM Academic Advising
Replies
3
Views
949
  • Science and Math Textbooks
Replies
4
Views
2K
  • STEM Academic Advising
Replies
29
Views
1K
  • Programming and Computer Science
Replies
8
Views
1K
  • Science and Math Textbooks
Replies
1
Views
752
  • Science and Math Textbooks
Replies
2
Views
2K
  • Science and Math Textbooks
Replies
1
Views
948
  • Science and Math Textbooks
Replies
2
Views
4K
  • Science and Math Textbooks
Replies
1
Views
1K
  • Programming and Computer Science
Replies
5
Views
1K
Back
Top