If you have an array that expands when it is completely filled and the new size is
N = N + 1 + ceiling(log2(N))
(N is the current size, and then N becomes the new size)
(log2 is log base 2).
How can you do an amortized analysis for this? It is confusing because the size of the expansion of the array increases as N increases.