Git Product home page Git Product logo

billwk254 / binary_trees Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

A binary tree in C is a data structure in which every node can have a maximum of two children nodes. Each node in the binary tree contains a data variable with some value and two pointers pointing to the children. The height of a binary tree is calculated by taking the longest path between the root and the leaf node.

C 100.00%

binary_trees's Introduction

Binary Trees

This repository contains the source code for a project on binary trees. The project covers the following topics:

Basic binary trees
Binary search trees
AVL trees
Max binary heaps

The project includes a header file called binary_trees.h that contains the prototypes for all of the functions used in the project. The project also includes a number of test files that can be used to test the functions.

To get started with the project, clone the repository to your local machine. Then, compile the source code using the following command:

gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c

This will create an executable file called binary_trees. You can run the executable file to test the functions.

binary_trees's People

Contributors

billwk254 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.