Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Graph adjacency list representation

Language: Layout:
+ ] Show input
Compilation time: 0.84 sec, absolute running time: 0.18 sec, cpu time: 0.13 sec, memory peak: 18 Mb, absolute service time: 1,11 sec  
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:12: warning: [rawtypes] found raw type: LinkedList
        list = new LinkedList[V];
                   ^
  missing type arguments for generic class LinkedList<E>
  where E is a type-variable:
    E extends Object declared in class LinkedList
source_file.java:12: warning: [unchecked] unchecked conversion
        list = new LinkedList[V];
               ^
  required: LinkedList<Integer>[]
  found:    LinkedList[]
2 warnings


0->1->4->
1->0->
2->4->
3->
4->0->2->

    
                
λ
.NET NoSQL database for rapid development