if( head==null ){ // base case1 return head; } if( i==j ){ // base case 2 return head; }
if( head==null ){ // base case1
return head;
}
if( i==j ){ // base case 2
return head;
}