- 1,233

- 1

What is the difference between merge sort, selection sert,binary search , linear search and insertion sort? Also if you are given a recursive method, is there an easy way without tracing the method to find how many calls you need to make? For example:

Code:

```
public int A(int a, int b )
{
if ( a< 0 )
return (b);
else if (b < 1)
return (a);
else
return(A(a-2, b-4) + A(a-1, b-2));
}
```

Thanks a lot guys