Giter Club home page Giter Club logo

avltreeexam's Introduction

๐ŸŒฒ AVL Tree Visualization ๐ŸŒฒ

Build Status

This repository contains an AVL tree implementation in JavaScript and Java. It provides a visual interface through a web page, allowing users to interact with the AVL tree in real-time.

๐ŸŽฏ Features ๐ŸŽฏ

  • Node Insertion: Add nodes to the tree and watch the tree balance itself dynamically.
  • Rotations: Supports Right, Left, Right-Left, and Left-Right rotations.
  • Tree Traversals: Displays Pre-order, In-order, and Post-order traversals.
  • Rotation Count Tracking: Keeps track and displays the count of each type of rotation.
  • Tree Statistics: Displays the depth and balance factor of the tree.
  • Node Deletion: Implements node deletion while maintaining the balance of the tree.
  • Search Functionality: Includes a search bar to locate nodes in the tree.
  • Performance Metrics: Displays metrics such as time taken for operations, number of comparisons made, etc.
  • Responsive Design: The user interface is responsive for better mobile device support.

๐Ÿ’ก Future Enhancements ๐Ÿ’ก

  • Undo/Redo Functionality: Implement an redo feature to allow users to reapply their actions.
  • Bulk Operations: Allow users to delete multiple nodes at once.
  • Animation Speed Control: Provide a slider to control the speed of the animations.
  • Dark Mode: Implement a dark mode for the user interface.

๐Ÿš€ Usage ๐Ÿš€

  • Web Interface: Visit https://vileend.github.io/avlTreeExam/ to interact with the AVL tree or clone the repo and access the index.html in your browser
  • Java Implementation: Run the Java code to observe AVL tree operations in the console.

๐Ÿค Contributing ๐Ÿค

Pull requests are welcome. For significant changes, please open an issue first to discuss what you would like to change.

๐Ÿ“œ License ๐Ÿ“œ

GPL-3.0

avltreeexam's People

Contributors

jan4kretschmer avatar vileend avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jan4kretschmer

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.