linear_structures

Last updated:

0 purchases

linear_structures Image
linear_structures Images
Add to Cart

Description:

linear structures

Linear structures #
Implementation of all common linear data structures in Dart.

Usage #
add linear_structures as a dependency in your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
linear_structures: 1.1.2
copied to clipboard
Run pub get to install.
Content #

SinglyLinkedList
DoublyLinkedList
Stack
Queue

Example #
DoublyLinkedList<String> list = DoublyLinkedList();
print("list is empty: ${list.isEmpty}");

list.addLast("B");
list.addFirst("A");
list.addLast("C");

print(list.getAll());
print("removed element: ${list.removeLast()}");
print(list.getAll());
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.