Proceedings of the 14th Annual ACM SIGCSE Conference on Innovation and Technology in Computer Science Education 2009
DOI: 10.1145/1562877.1562979
|View full text |Cite
|
Sign up to set email alerts
|

A visual proof of amortised-linear resizable arrays

Abstract: We demonstrate visually why doubling capacity is the better strategy when resizing arrays. The visual proof makes simple amortised analysis more accessible to a CS2 audience.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2011
2011
2017
2017

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(3 citation statements)
references
References 1 publication
0
3
0
Order By: Relevance
“…Thompson and Chadhuri [18] present an alternative visual analysis of the Build-heap algorithm (as previously presented in [7]). Blaheta [1] presents a visual proof for amortized-linear resizable arrays by proving that doubling the capacity is the best strategy when resizing linear arrays. Sher [17] presents a visual proof of the average case running time of a list-searching algorithm.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…Thompson and Chadhuri [18] present an alternative visual analysis of the Build-heap algorithm (as previously presented in [7]). Blaheta [1] presents a visual proof for amortized-linear resizable arrays by proving that doubling the capacity is the best strategy when resizing linear arrays. Sher [17] presents a visual proof of the average case running time of a list-searching algorithm.…”
Section: Related Workmentioning
confidence: 99%
“…The "Area-to-Cost Principle" uses graphical primitives to represent the amount of work required for each algorithm step, and then the total running time for the algorithm can be viewed as the total surface area of the resulting shape. This approach was applied in the Build-heap visual proof [18], the visual proof to find the closed form solution of the summation n i=1 i presented in [7], the amortizedlinear resizable array proof [1], and the alternating series convergence proof [9]. Figure 1 shows the Build-heap visual proof as presented in [18].…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation