Timestamps: - 0:20 : Introduction, Usefulness of Amortized Analysis - 1:41 : Table Doubling Problem with Intuition on Amortized Cost - 5:42 : Aggregate Method - 7:18 : General Definition of Amortized Bounds - 14:02 : Accounting Method - 22:22 : Table Doubling Problem using Accounting Method - 27:57 : Charging Method - 31:00 : Table Doubling Problem using Charging Method - 42:11 : Potential Method - 48:52 : Binary Counter Problem using Potential Method - 56:00 : Insert in 2-3 Trees using Potential Method - 1:04:21 Insert & Delete in 2-5 Trees using Problem Method
@emmafoley89874 жыл бұрын
The best explanation of potential amortization I've found!
@DenisG6317 жыл бұрын
11:51 But that's not entirely true, since you can "try" removing an item, which is not in the tree, which will still cost O(logN) in order to look for the item, which is missing. Correct me if I'm wrong
@MrLala123217 жыл бұрын
It's possible the log(n) is referring to the rebalancing of the tree(which wouldn't happen if the element didn't exist) and not the searching for the element. Otherwise you're correct.
@imprsnt8 жыл бұрын
Load Factor = number of Elements / Size of table = n / m.
@samiere7 жыл бұрын
referencing @2:30
@dylancutler19786 жыл бұрын
I was wondering about that. In his analysis table doubling would have increased the runtime complexity, this makes more sense.
@alisalloum20054 жыл бұрын
You saved my life
@Jayveersinh_Raj3 жыл бұрын
@@alisalloum2005 Helloo Buddy!! XD
@gshengelaia20013 жыл бұрын
so there is an error in the video right?
@rohitnagare76342 жыл бұрын
14:02 Accounting method
@pistachios24634 жыл бұрын
41:41 potential method
@hamiltonchevez81144 жыл бұрын
literally came here for this, thanks
@flo79684 жыл бұрын
thank you so much haha
@hritikzurange Жыл бұрын
thanks for the charging method, makes life much easier :)
@puffvayne3 жыл бұрын
Potential Method 42:20
@forthrightgambitia10324 жыл бұрын
Interesting, I studied B-trees at uni and they presented the 2, 5 tree without justification of those numbers. But here it is.
@radred3662 Жыл бұрын
shoutouts to any students at uvic cramming for an exam right now
@intrinsic95859 ай бұрын
🙏
@wetbarofsoap9 ай бұрын
shoutout to sajin
@user-tk2jy8xr8b5 жыл бұрын
I got the idea of amortization in general, but these coins are totally weird. Why the heck do we charge back in time only once per insertion?
@junzhai17154 жыл бұрын
as long as the coin value is constant, O(1), it is fine, not necessary "once", could be 2,3,4... The point is that the cost of copying n elements charges 2 * n/2. we can save those n/2 coins with value 2 during each of the n/2 element's insertion. In contrast, we cannot save coins with value O(n), because that will make the insertion not O(1) anymore.
@ChadieRahimian8 жыл бұрын
This is the only data structure lecture of MIT, I didn't understand a word of :((
@ChadieRahimian8 жыл бұрын
I have. Even all the other lectures of 6.046.
@TroyWhorten8 жыл бұрын
Chapter 17 from CLRS? The potential method in particular was pretty fuzzy for me from just the lecture but the description in the book really brought it together.
@ChadieRahimian8 жыл бұрын
Troy Whorten yeah I'm having a hard time understanding the concept of amortization. I guess I need to go through that chapter of the book couple more times 😁
@miro-miro-on-the-wall6 жыл бұрын
oof get out of here with your misogynistic bs
@avoriginal93427 ай бұрын
so for the accounting method you are adding 2 coins for each insertion, 1 insertion costs 1 coin and you store one to be able to pay for the deletion?
@arno.claude2 жыл бұрын
11:08 why did he throw that frisbee? :D is it a reward for answering a question correctly? :D
@JuanSanchez-yi1wn4 жыл бұрын
At 39:00 Can I use this for Crypto asset valuation? Specifically BTC since BTC white papers solves double spending problem
@bhavyagor53662 жыл бұрын
hey pls connect with me, i have a serious blockchain project to make
@AdamOwolabi-p2yАй бұрын
This is so good.
@Sacheess4 жыл бұрын
51:44 does he give frisbees for answers? So fucking cool.
@LegolasSmith3 жыл бұрын
i think its like an "extra grade token"
@sydneystriker53555 жыл бұрын
The last lecture was so hard that this lecture seemed piece of cake. :)
@chaitrakeshav3 жыл бұрын
This is too good!
@jawoo2228 Жыл бұрын
huhuhhh, yeahhhhh... Mr Van Driessen's cool...
@ChrisLeeX7 жыл бұрын
25:15 Not the correct conclusion.
@hossein_haeri4 жыл бұрын
Misleading words... Hard to get the core concept... I kinda think those people sitting there already knew the concept which is no surprise at MIT!
@volkankaln47134 жыл бұрын
This lecture makes me smell chalk.
@ChrisLeeX7 жыл бұрын
40:27 That example went nowhere.
@puffvayne3 жыл бұрын
Why there are chalks on my face?
@thinkweb25 жыл бұрын
I love Eric's explanations but this one felt way too theoretical. I wish he started with examples and used these techniques before diving into nitty gritty.
@radhekrishanrathod90015 жыл бұрын
why they are not using marker
@luojihencha4 жыл бұрын
I feel I am so stupid...
@shivanshpachauri28554 жыл бұрын
i feel Eric to be too less energetic in this video.
@es83367 ай бұрын
i dont understand shit i fucking hate computer science