File:Lowest common ancestor.svg

Original file(SVG file, nominally 156 × 415 pixels, file size: 3 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
English: A tree with the common ancestors of two nodes in light green, and their lowest common ancestor in dark green.
Date
Source Own work
Author Qwertyus

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.

Dot source code edit

This picture was produced by dot from the following source code:

digraph {
    rankdir=BT;

    node [label="B"]; x;
    node [label="A"]; y;

    node [label=""]; x; f; z;
    node [style=filled,color=darkgreen]; lca;
    node [style=filled,color=lightgreen]; a, w;

    x -> lca;

    y -> f;
    f -> lca;
    lca -> a;
    a -> w;
    z -> w;
}

File history

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

Date/TimeThumbnailDimensionsUserComment
current09:02, 5 August 2014Thumbnail for version as of 09:02, 5 August 2014156 × 415 (3 KB)Qwertyus (talk | contribs)Slimmer version, with node labels changed from {A,B} to {x,y}
07:24, 28 July 2014Thumbnail for version as of 07:24, 28 July 2014213 × 415 (3 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