Popularity
4.4
Declining
Activity
0.0
Stable
12
3
4

Programming language: Crystal
License: MIT License
Tags: Algorithms And Data Structures    

crystal-linked-list alternatives and similar shards

Based on the "Algorithms and Data structures" category.
Alternatively, view crystal-linked-list alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of crystal-linked-list or a related project?

Add another 'Algorithms and Data structures' Shard

README

Crystal Linked List CircleCI

A simple linked list implementation in Crystal

Installation

Add this to a project's shards.yml

dependencies:
  linked_list:
    git: https://github.com/abvdasker/crystal-linked-list.git

Then run shards

Usage

require "linked_list"

list = LinkedList(Int32 | String).new
list.append(1)
list.push(2)
list << "foo"

list.peek        # "foo"
list.pop         # "foo"
list.pop         # 2
list.unshift(1)
list.shift       # 1