(a)
| 56 | // Output: 3 -> 2 -> 1 -> 5 -> 5 -> 8 -> 10 |
| 57 | |
| 58 | var printList = function(a) { |
| 59 | while (a !== null) { |
| 60 | console.log(a.value); |
| 61 | a = a.next; |
| 62 | } |
| 63 | }; |
| 64 | |
| 65 | var a = new LinkedList(3); |
| 66 | var b = new LinkedList(5); |
no outgoing calls
no test coverage detected