tatocaster / GeorgianQueue

The queue you've always wanted to be in.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Georgian Queue

Banner

GeorgianQueue is a queue data structure on steroids. The queue you've always wanted to be in. Implemented using singly linked list and Iterator to traverse.

Usage

GeorgianQueue<Int>().apply {
    offer(1)
    offer(2)
    offer(3)
    offerLikeGeorgian(99)
}

Result: [1, 99, 2, 3]

License

MIT. See the LICENSE file for details.

Author

Made by Tato Kutalia. Follow @TatoKutalia on Twitter for future updates.

About

The queue you've always wanted to be in.

License:MIT License


Languages

Language:Kotlin 100.0%