You can edit almost every page by Creating an account and confirming your email.

File:SequenceHeapInsert.gif

From EverybodyWiki Bios & Wiki
Original file (2,000 × 1,581 pixels, file size: 171 KB, MIME type: image/gif, looped, 5 frames, 10 s)
Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: k=2, m=2

1. Insert Heap contains (5, 13) and is now full. 2. It is merged with the deletion buffer, the group buffer 1 and sorted resulting in (2, 5, 6, 10, 13). (2) is placed in the deletion buffer, (5, 6) in the group buffer. (10, 13) are place into the first K-Way-Merge and it overflows. 3. The old elements are merged resulting in 11,14,16,18. The new sorted sequence is added to K-Way-Merge 2. 4. Group Buffers 1 and 2 are invalidated and merged into a new sequence (5, 5, 6, 15) in K-Way-Merge 1. (5, 5) is written into Group Buffer 1.

5. Group Buffer 2 is now refilled from the sorted sequences of K-Way-Merge 2.
Date
Source Own work
Author Azubit

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

Animation of an insert into the sequence heap data structure

Items portrayed in this file

depicts

22 July 2019

image/gif

175,375 byte

10 second

1,581 pixel

2,000 pixel

1b61a3d3848d51974cb224b8f9a49df53bb7ed1f

File history

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

Date/TimeThumbnailDimensionsUserComment
current15:58, 22 July 2019Thumbnail for version as of 15:58, 22 July 20192,000 × 1,581 (171 KB)wikimediacommons>AzubitUser created page with UploadWizard

The following page uses this file:

Metadata