With its time complexity of O(n log(n)) heapsort is optimal. It utilizes a special data structure called heap. This data structure is explained in the following.
Basics
Definition: Let T = (V, E) an almost complete binary tree with a vertex labelling a : V
M that assigns to each vertex u a label a(u) from an ordered set (M,
).
A vertex u
V has the heap property if it has no direct descendant with a greater label, i.e.
v
V : (u, v)
E
a(u)
a(v)
T is a heap if all vertices have the heap property, i.e.
(u, v)
E : a(u)
a(v)
We call T a semi-heap if all vertices except possibly the root r have the heap property, i.e.
(u, v)
E, u
r : a(u)
a(v)
Example:
|
|
| Figure 1: Heap with n = 10 vertices | |
Observe that each leaf automatically has the heap property regardless of its label, since it has no descendants. >>>>

Virtualization — the use of multiple instances of operating systems, applications, or other software
Much of Linux® system administration involves tediously combing through plain-text configuration files. Fortunately, Linux has a rich array of UNIX®-derived data extraction utilities, including head, tail, grep, egrep, fgrep, cut, paste, join, awk, and more. This article uses real-world examples that show how these simple command-line programs can make you a better sysadmin. This article looks at each data extraction utility and its options, applies them to typical files that are used in day-to-day work, and looks at how and why each tool is useful for pulling data from these files.
The media delivery software company and Novell made the announcement at the LinuxWorld Conference and Expo here. Novell said it will include the tool in its
August 15, 2006
Australian-born Andrew Morton, a key deputy to Linux leader Linus Torvalds, has taken a job at search engine powerhouse Google, a major user of Linux and other open-source software.
Linux is widely used in electronic design automation (EDA) and computer-aided design (CAD), especially in chip and circuit design. Software from Synopsys Inc., Mentor Graphics Corp. and market leader Cadence Design Systems Inc. mostly run on the open-source operating system.


