Number of Social Groups Represented in a Matrix


  • 0
    I

    Given a matrix, if intersection of a column and a row is marked with "1", then the column number and row number is social connected. Task to figure out how many social groups are in the matrix.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.