adnammit / bst Goto Github PK
View Code? Open in Web Editor NEWUpon completion, this project will represent a body of code for implementing, managing and manipulating binary search trees using C++
Upon completion, this project will represent a body of code for implementing, managing and manipulating binary search trees using C++
BINARY SEARCH TREE: This project is not an attempt to reinvent the wheel. I wanted some practice with C++ and decided to write a bunch of code that could randomly generate BSTs, copy, delete, etc, all while using the best practices possible. Best practices include: - never passing a class object by value - using keyword 'const' to protect class data - encapsulation using protected classes OBJECTIVES: [x] build a BST [x] delete a BST [ ] build a randomly generated BST [ ] create a copy of a BST [x] insert into a BST [x] display contents of a BST [x] count number of nodes [x] count number of leaves [ ] calculate height [ ] implement a balancing algorithm [ ] add operator overloading [ ] create a more robust node structure and import data from an API [ ] create visualization of the BST RUNNING IT: There are multiple source files, a header file and a makefile file for this program. From the command line, simply type "make" and then "./play". To recompile after making changes, type "make" again. To delete all executables, type "make clean". That's it! Hope you enjoy my silly program. -Amanda
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.