Cody

Problem 43594. Find Adjacency Matrix

Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use full(A) )

Input:

    s = [1 1 2 2 3 3 4 5 5 6 7 8];
    t = [2 4 4 8 4 6 8 6 8 7 8 8];

Solution Stats

47.73% Correct | 52.27% Incorrect
Last solution submitted on Nov 08, 2018

Problem Comments