educative.io

The example code is not correct

The example code is not correct.
Variable length array is not valid on C++:
int leftArr[sizeLeft], rightArr[sizeRight];

Hello @David_Osipyan,

Thank you for reporting this issue. We are working in fixing the variable length arrays issue in this code. We’ll update here once the updated version of the code is live again.

Pleas feel free to share any more feedbacks and suggestions.

Happy learning!