Git Product home page Git Product logo

dsii_lab_01's Introduction

Data Structures & Algorithms - Lab #01

Implementing Self Balancing BSTs (AVL & Red Black)


  • We are required to implement a couple of the well known self balancing BSTs which are:
    • AVL Tree
    • Red Black Tree
  • In addition to implementing a simple application - English Dictionary CLI Application - that utilizes the previously mentioned trees, providing the user the basic functionalities needed, such as:
    • Searching
    • Deleting
    • Inserting
    • Queries about the tree size & height.

Table of Contents


Introduction

  • This lab was developed as a part of the academic course CSE 224: Data Structures & Algorithms that is being studied on the 6th semester (spring 2023) in the department of Computer and Systems Engieering, Alexandria University. we were assigned to implement those self balancing BSTs and build - using them - a simple CLI application.

Lab Objectives

  • Understanding the essential functionalities behind the self balancing BSTs that assure the BSTs properties in addition to preserving the tree height in an acceptable range of complexity O(log n) with a tolerence - depending on the logic of the tree being implemented. -

Installation

Steps to install and run this application on your local machine.

  • Download the ZIP file from here
  • Extract it
  • Open the Self Balancing BSTs directory using your favourite Java IDE.
  • Build the project & run the CLI.CLI_Demo class

Problem Statement


Designed & Implemented By


dsii_lab_01's People

Contributors

georgebeshay avatar islam0143 avatar mak-michel avatar mariamaziz0 avatar george-seleim 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.