Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
T = [1, 2, 3;...
1, 3, 4;...
1, 2, 4;...
2, 3, 4];
t = 2;
L = [1, 3, 4]';
assert(isequal(sort(find_neighbor_triangles_indices(T,t)),L))
|
2 | Pass |
T = [1, 2, 4;...
2, 3, 4;...
5, 6, 8;...
6, 7, 8;...
1, 2, 5;...
2, 5, 6;...
2, 3, 6;...
3, 6, 7;...
3, 4, 7;...
4, 7, 8;...
1, 4, 8;...
1, 5, 8];
t = 3;
L = [4, 6, 12]';
assert(isequal(sort(find_neighbor_triangles_indices(T,t)),L))
|
3 | Pass |
T = [1, 2, 3;...
1, 3, 4;...
1, 4, 5;...
1, 2, 5;...
2, 3, 6;...
3, 4, 6;...
4, 5, 6;...
2, 5, 6;...
2, 3, 4;...
2, 4, 5;...
1, 2, 4;...
2, 4, 6];
t = 6;
L = [2, 5, 7, 9, 12]';
assert(isequal(sort(find_neighbor_triangles_indices(T,t)),L))
|
338 Solvers
128 Solvers
Find the stride of the longest skip sequence
105 Solvers
Poker Series 01: isStraightFlush
106 Solvers
131 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!