File:Maximum Subarray Visualization.svg

Original file(SVG file, nominally 400 × 300 pixels, file size: 2 KB)

Summary

Description
English: Visualization of how sub-arrays change based on start and end positions of a sample. Each possible sub-array is represented by a point on a colored line. That point's y-coordinate represents the sum of the sample, its x-coordinate represents the end of the sample, and the leftmost point on that colored line represents the start of the sample. In this case, the array from which samples are taken is [2, 3, -1, -20, 5, 10]. Created using the svgwrite Python library.
Date
Source Own work
Author Snydergd

Licensing

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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 January 2016

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current07:03, 19 January 2016Thumbnail for version as of 07:03, 19 January 2016400 × 300 (2 KB)Snydergdchanged data set to [2, 3, -1, -20, 5, 10], made colored lines not start on 0, changed colors.
06:26, 19 January 2016Thumbnail for version as of 06:26, 19 January 2016400 × 300 (2 KB)SnydergdUser created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata