Quantcast
Channel: Amortized – 100% Private Proxies – Fast, Anonymous, Quality, Unlimited USA Private Proxy!
Browsing all 10 articles
Browse latest View live

what does $O(\alpha(n))$ amortized time mean?

DELETE(S, i): Delete integer $ i$ from the set $ S$ . if $ i \notin S$ , there is no effect. from a set of consectutive integers like $ S = \{1,2,3,5,6\}$ Provide a data structure and an algorithm for...

View Article



if binary heap potential function is c*size(binary heap)) then insert will...

So i want to prove that if i choose a potential function for binary heap as any constant* size of the binary heap(n) then my insert will not have O(logn) amortized cost and extract Max will not have...

View Article

Amortized cost of heaps

So a regular MAX-HEAP has insert and extract_max. Insert worst case is O(log(n)) also extract_max worst case is O(log(n)), this is because it has to heapify depending on the value. The amortized cost...

View Article

Mergable heap with no key knowledge cannot EXTRACT-MIN in $o(\log n)$...

We are looking into Fibonacci heaps in class at the moment, but I am stuck with this problem. Let $ H$ be a mergable heap structure, by which is meant a data structure, where each element has a key,...

View Article

general question amortized cost and worst case

lets say a data structure has operations called insert and delete both of which take O(log(n)) worst case. Suppose the amortized cost of insert is O(log(n)) and the amortized cost of delete is O(1)....

View Article


How to do if a potential function Does not work? Amortized analysis

Here is an example taken from CLRS. q)Consider an ordinary binary min-heap data structure with n elements supporting the instructions INSERT and EXTRACT-MIN in O(lg n) worst-case time. Give a...

View Article

Amortized analysts – increment in ternary counter

What is the amortized analysis of increment action in a Trenary counter that is initialized to 0? The post Amortized analysts – increment in ternary counter appeared first on 100% Private Proxies -...

View Article

Amortized Analysis of Binary Counter and Dynamic Table together

Let m ≥ 2 be a fixed positive integer. Consider the following ADT. A state of the ADT is an m-tuple of integers (v1, v2, . . . , v_m). The ADT supports two operations: • Increment(i) which increases...

View Article


Choosing potential function in amortized analysis of the dynamic array

Suppose we have a dynamic array with some initial capacity $ c_{initial}$ (i.e., the dynamic array with zero elements will have this capacity). The $ add$ operation is modified the following way: New...

View Article


Difficulty in few steps in proof of “Amortized cost of $\text{Find-Set}$...

I was reading the section of data structures for disjoint sets from the text CLRS I faced difficulty in understanding few steps in the proof of the lemma as given in the question title. Here we assume...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images