function printLinkedList(head) {
let current = head;
while(current){
console.log(current.data);
current = current.next;
}
}
For further actions, you may consider blocking this person and/or reporting abuse
function printLinkedList(head) {
let current = head;
while(current){
console.log(current.data);
current = current.next;
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Dharmendra Kumar -
Fadhil ⚡ -
Mads Stoumann -
Dipak Ahirav -
Top comments (0)