Optimal algorithms concerning the solving of equations by interpolation