When to use Adjacency Matrix ?
-> If two nodes connected or not 
TC - O(1)
If we do it by adjacency list or edge list we have to use loop . The complexity will become O(N) . 
For further actions, you may consider blocking this person and/or reporting abuse
 

 
    
Top comments (0)