GithubHelp home page GithubHelp logo

2-3-4-tree's Introduction

2-3-4-Tree

IMPORTANT: Any student submitting the codes as their own is an act of plaigarism and is a violation of Washington State University's "Student Honor's Code". The intention of me posting my programs is for collaboration and to hear feedbacks on possible improvements on the coding. This code repository also serves as my code portfolio and its purpose is for future employers to examine my coding skills. Please reference if you use part of the code and DO NOT PLAGIARIZE. "Academic Dishonesty" falls under the Standards of Conduct for Students.

According to Wikipedia, 2-3-4 trees are self-balancing data structure that is commonly used to implement dictionaries. 2-3-4 trees are B-trees of order 4.

For more information, visit http://en.wikipedia.org/wiki/2โ€“3โ€“4_tree.

The Code

This is probably one of the most difficult algorithm I had to implement. We are given a header file template to work with and we are tasked to implement the following functions:

  • bool Add(T& toCopyAndAdd)
  • T* Find(int key)
  • bool Remove(int key)

Future Improvements

  • The goal was to implement the 2-3-4 algorithm, but I have plans to dig deeper with my implementation and make some changes to ensure efficient implementation.
  • Use the algorithm for real world applications
  • Find ways to improve it

2-3-4-tree's People

Contributors

gabrieledcjr 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.