Skip to content

Datastructures implemented in Ruby custom. By default some of these structures are there but this is just to show how then can be implemented simply

License

Notifications You must be signed in to change notification settings

Skipper-116/ds-ruby

Repository files navigation

Custom Data Structures in Ruby

This repository contains custom implementations of various data structures in Ruby. The project is developed and tested on a Unix machine.

Table of Contents

Installation

To get started, clone the repository:

git clone https://github.com/Skipper-116/ds-ruby.git
cd ds-ruby

Usage

Each data structure is implemented in its own Ruby file within the lib directory. You can require these files in your Ruby scripts to use the data structures.

Data Structures

The following data structures are implemented in this repository:

  • Linked List
  • Stack
  • Queue
  • Priority Queue
  • Dynamic Array
  • Binary Tree
  • Hash Table

Testing

This project uses RSpec for testing. To run the tests, execute the following command:

rspec

Make sure you have RSpec installed. If not, you can install it using:

gem install rspec

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Datastructures implemented in Ruby custom. By default some of these structures are there but this is just to show how then can be implemented simply

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages