Implementation Tips and Tricks
Learn two useful tricks for implementing functions on binary search trees.
We'll cover the following...
Introduction
The course’s goal is to learn how to write pointer-intensive code. Therefore, after understanding binary search trees at a conceptual level, you’ll have to implement the functions in C using pointers and memory allocations. After that, inside the project, you’ll use the newly implemented structure to solve some common real-life problems.
The lessons in this chapter will be in pairs:
- A pseudocode lesson where we understand the ideas behind the algorithms for binary search trees.
- A playground lesson where you will implement the algorithms in C. Make sure to understand the logic behind the algorithms. Otherwise, it will be hard to implement them in C.
The purpose of this lesson is to give some tips and tricks for implementing the functions in C using pointers. Binary search ...