Calculate Big-O for Diverse Algorithm Operations