Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

initialize 2d vector as 0

vector<vector<bool>> visited(n, vector<bool> (n, 0));
 
PREVIOUS NEXT
Tagged: #initialize #vector
ADD COMMENT
Topic
Name
7+7 =