23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 11.10: Visualization of quick-sort. Each node of<br />

the tree represents a recursive call. The nodes drawn<br />

with dashed l<strong>in</strong>es represent calls that have not been<br />

made yet. The node drawn with thick l<strong>in</strong>es represents<br />

the runn<strong>in</strong>g <strong>in</strong>vocation. The empty nodes drawn with<br />

th<strong>in</strong> l<strong>in</strong>es represent term<strong>in</strong>ated calls. The rema<strong>in</strong><strong>in</strong>g<br />

nodes represent suspended calls (that is, active<br />

<strong>in</strong>vocations that are wait<strong>in</strong>g for a child <strong>in</strong>vocation to<br />

696

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!