PDA

View Full Version : Determine the value of CN and time comlexity for recurrence functions


Mira123
Oct 31, 2015, 08:23 AM
public static int myFunction( int N){
if (N == 1) return 1;
return ( (myFunction (N/2) + myFunction (N/2));
}