()
| 34 | } |
| 35 | |
| 36 | public void print() { |
| 37 | Node temp = head; |
| 38 | while(temp != null) { |
| 39 | System.out.print(temp.data+"->"); |
| 40 | temp = temp.next; |
| 41 | } |
| 42 | System.out.println("null"); |
| 43 | } |
| 44 | |
| 45 | public void add(int idx, int data) { |
| 46 | if(idx == 0) { |
no outgoing calls
no test coverage detected