Module Expr Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListComp ListLoad comprehension NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Premium Question
simple DFS
 N/A __author__ Daniel Solution N/A object N/A countComponents N/A N/A self n edges N/A N/A N/A 
        :type n: int
        :type edges: List[List[int]]
        :rtype: int
         N/A V N/A N/A N/A _ N/A xrange n N/A e edges N/A N/A N/A N/A N/A V N/A N/A e N/A 0 append N/A e N/A 1 N/A N/A N/A N/A V N/A N/A e N/A 1 append N/A e N/A 0 N/A visited N/A False N/A _ N/A xrange n N/A cnt 0 N/A v N/A xrange n N/A N/A N/A N/A visited N/A v N/A N/A cnt 1 N/A N/A N/A self dfs V v visited N/A cnt N/A dfs N/A N/A self V v visited N/A N/A N/A N/A visited N/A v True N/A nbr N/A V N/A v N/A N/A N/A N/A visited N/A nbr N/A N/A N/A N/A self dfs V nbr visited N/A N/A