Recursion Tree Method In Algorithm