find alg