Coding Binary Search Tree in C language

Udemy
Deal Score0
Deal Score0

Coding Binary Search Tree in C language, Binary search tree implementation – insert, inorder traversal and delete operations.

Description

In this course we will do live coding of Binary Search Tree in C language. While coding, I am also sharing the thought process which goes on while implementing the logic. We will face compile-time, run-time errors and then we will resolve them.

Binary Search Tree is one of the fundamental data structures used in software development. Many variants of BST like AVL tree, Red-Black tree are used in real world applications. For e.g. “map” container in C++ STL library uses Red-Black tree, Linux Kernel uses Red-Black tree for process scheduling.

In this course we will do hands-on coding of various operations which can be done on BST like:

  1. Writing node structure for BST containing (integer data, pointers to left and right child)
  2. inserting and element into Binary Search Tree – I will explain the property of the Binary Search Tree. With the help of an example (sequence of elements) we will construct the BST.
  3. Displaying the elements of the Binary Search Tree (inorder traversal – theory explanation and then hands on coding)
  4. Deleting elements from the Binary Search Tree 3 cases:
    1. Leaf node
    2. Node with 1 child
    3. Node with 2 children
  5. Passing data by reference and accepting arguments through pointer variables

Different C concepts used while coding:

malloc(), sizeof(), free(), typedef, structures, linked lists, gcc compiler, VS Code editor.

Who this course is for:

  • Entry level C Software Engineers
  • Undergraduate students taking course in Data structures
administrator
We will be happy to hear your thoughts

Leave a reply

Online Tutorials
Logo