Hi I am running the following code to generate sub arrays but i am getting the wrong output even in the CB online editor i am getting wrong OP.
Here is my code:
And this is the output i am getting
Hi I am running the following code to generate sub arrays but i am getting the wrong output even in the CB online editor i am getting wrong OP.
Here is my code:
And this is the output i am getting