Cody

Solution 2084028

Submitted on 8 Jan 2020 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
T = [1, 2, 3; 4, 5, 6; 7, 8, 9]; E = [1, 2; 1, 3; 2, 3; 4, 5; 4, 6; 5, 6; 7, 8; 7, 9; 8, 9]; assert(isequal(sortrows(sort(query_edges_list(T),2)),E))

2   Pass
T = [2, 3, 5; 7, 11, 13; 17, 19, 23]; E = [2, 3; 2, 5; 3, 5; 7, 11; 7, 13; 11, 13; 17, 19; 17, 23; 19, 23]; assert(isequal(sortrows(sort(query_edges_list(T),2)),E))