linear_structures 1.0.1 copy "linear_structures: ^1.0.1" to clipboard
linear_structures: ^1.0.1 copied to clipboard

outdated

This package contains implementation of all linear data structures in Dart language.

example/main.dart

import 'package:linear_structures/doubly_linked_list.dart';

void main() {
  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());
}
7
likes
0
pub points
0%
popularity

Publisher

unverified uploader

This package contains implementation of all linear data structures in Dart language.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on linear_structures