Analysis of algorith, Princeton univercity