while( first1<=last1 || first2<=last2 )
while( first1<=last1 && first2<=last2 )
I am just trying to make sure I am correct. For an "or" condition it means that it only needs one of those to be true to enter the while loop, while the "and" condition needs both to be true to enter the while loop? First time I've seen the "and" and "or" operation not in an if statement, so i am a little confused.