Packages

A random access list is a list data structure that has O(log n) time lookups and updates, while maintaining a constant time for cons, tail and head operations.

Current section

Files

Jump to
random_access_list lib complete_binary_tree leaf.ex
Raw

lib/complete_binary_tree/leaf.ex

defmodule CompleteBinaryTree.Leaf do
defstruct [:value]
def new(value) do
struct(__MODULE__, value: value)
end
end