careercup / CtCI-6th-Edition

Cracking the Coding Interview 6th Ed. Solutions
11.29k stars 4.4k forks source link

Chapter 10 Q 10.1 Sorted Merge #214

Open riteshsangwan opened 3 years ago

riteshsangwan commented 3 years ago

Typo in code. As per the question condition both the arrays should be sorted but that's not the case.

The problematic line of code is here.