I should have drawn out the diagram for which the sequences are going.
head ---> 45 ---> 65.---->34---->76----->end
P^ q^
newNode --->50
(P points to 65) ...
Type: Posts; User: tgtgtg
I should have drawn out the diagram for which the sequences are going.
head ---> 45 ---> 65.---->34---->76----->end
P^ q^
newNode --->50
(P points to 65) ...
On the recomendation of "kermi3" I am posting this as a non-code related C++ question in which I need some clarification.
I am having problems understanding the following and want to know if I am...
Thanks,
I thought they were saying the same thing. To have two base cases one of the returns would have to be something other than 1?
I understand that each recusive function must have one base case(A solution given directly) however they may also have two. This is where I get confused see below. Is my thinking below correct or way...