Use a least-squares curvefitter to find values of a and b that give the best formula of the form aN.

Use a least-squares curvefitter to find values of a and b that give the best formula of the form aN In N + bN for describing the total number of instructions executed when a binary search tree is built from N random keys.