Cody

# Problem 552. Cell Array Inception?

Solution 118502

Submitted on 25 Jul 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
%% x = {{{{{{{{} 'hello'} 'world'} 'this'} 'is'} 'a'} 'string'} 'array'}; y_correct = {'hello' 'world' 'this' 'is' 'a' 'string' 'array'}; assert(isequal(unInception(x),y_correct))

```Error: Output argument "ans" (and maybe others) not assigned during call to "/users/msssystem19/unInception.m>unInception". ```

2   Fail
%% x = {}; y_correct = {}; assert(isequal(unInception(x),y_correct))

```Error: Output argument "ans" (and maybe others) not assigned during call to "/users/msssystem19/unInception.m>unInception". ```

3   Fail
%% x = {{} ''}; y_correct = {''}; assert(isequal(unInception(x),y_correct))

```Error: Output argument "ans" (and maybe others) not assigned during call to "/users/msssystem19/unInception.m>unInception". ```

4   Fail
%% x = {{{{} 'hello'} ''} 'yeah'}; y_correct = {'hello' '' 'yeah'}; assert(isequal(unInception(x),y_correct))

```Error: Output argument "ans" (and maybe others) not assigned during call to "/users/msssystem19/unInception.m>unInception". ```