File:Pointer implementation of a trie.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 393 × 415 pixels, file size: 8 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: A trie data structure implemented as a pointer structure (linked list of children).
Date
Source Own work
Author Qwertyus

Graphviz source code:

digraph {
    graph [
        fontname="Helvetica-Oblique"
        rankdir="TB"
    ]

    node [
        shape="circle";
    ]
    {rank="same"; 0; 3}

    0 [label="b"]
    1 [label="a"]
    2 [label="d"]

    0 -> 1
    1 -> 6

    3 [label="d"]
    4 [label="a"]
    5 [label="d"]

    0 -> 3 [style="dotted"]
    3 -> 4
    4 -> 5

    6 [label="b"]
    7 [label="y"]

    {rank="same"; 2; 6}
    6 -> 2 [style="dotted"]
    6 -> 7

    8 [label="n"]
    9 [label="c"]
    10 [label="e"]

    {rank="same"; 5; 8}
    5 -> 8 [style="dotted"]
    8 -> 9
    9 -> 10

    11 [label="o"]
    12 [label="x"]

    {rank="same"; 1; 11}
    1 -> 11 [style="dotted"]
    11 -> 12

    13 [label="n"]
    14 [label="k"]

    {rank="same"; 6; 13}
    2 -> 13 [style="dotted"]
    13 -> 14;
}

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:12, 18 February 2015Thumbnail for version as of 22:12, 18 February 2015393 × 415 (8 KB)Qwertyus (talk | contribs)expanded set, fixed some mistakes
21:54, 18 February 2015Thumbnail for version as of 21:54, 18 February 2015258 × 325 (6 KB)Qwertyus (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata