BryceWayne / dsa-module

Go Data Structures and Algorithms Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Data Structures and Algorithms Module

Overview

This module provides a comprehensive collection of data structures and algorithms implemented in Go. It's designed for educational purposes, to help users understand and apply fundamental DSA concepts in the Go programming language.

Contents

  • Linked Lists
    • Singly Linked List
    • Doubly Linked List
  • Trees
    • Binary Tree
    • Tree Traversals (In-order, Pre-order, Post-order)
  • Sorting Algorithms
    • Quick Sort
    • Merge Sort
    • Bubble Sort

Installation

Clone the repository to your local machine:

git clone https://github.com/BryceWayne/dsa-module.git

Navigate to the cloned directory:

cd dsa-module

Usage

Import the required package from the module in your Go file. For example, to use the Binary Tree:

import "dsa-module/trees"

Examples

This module includes example files for each data structure and algorithm to demonstrate usage. To run an example, navigate to the examples directory and execute the Go file. For example:

go run examples/binarytree_example.go

Contributing

Contributions to this project are welcome. Please ensure to follow the Go coding standards and provide tests for new implementations.

License

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

Contact

For any queries or contributions, please contact Bryce Wayne.

About

Go Data Structures and Algorithms Module

License:MIT License


Languages

Language:Go 100.0%