Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.25 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.25 KB

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.