advanced alg refer