This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = {{{{{{{{} 'hello'} 'world'} 'this'} 'is'} 'a'} 'string'} 'array'};
y_correct = {'hello' 'world' 'this' 'is' 'a' 'string' 'array'};
assert(isequal(unInception(x),y_correct))
|
2 | Pass |
x = {};
y_correct = {};
assert(isequal(unInception(x),y_correct))
|
3 | Pass |
x = {{} ''};
y_correct = {''};
assert(isequal(unInception(x),y_correct))
|
4 | Pass |
x = {{{{} 'hello'} ''} 'yeah'};
y_correct = {'hello' '' 'yeah'};
assert(isequal(unInception(x),y_correct))
|
280 Solvers
Back to basics 2 - Function Path
163 Solvers
348 Solvers
Calculate the area of a triangle between three points
872 Solvers
Multiples of a Number in a Given Range
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!