Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "solution.h"
- #include <iostream>
- void solution(Node* head) {
- while (head != NULL) {
- cout << head->value << endl;
- head = head->next;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement