Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool sprawdz(List* s, Node* n){
- if(s->first != nullptr){
- Node* tmp = s->first;
- while(tmp != s->last->next){
- if(n->value == tmp->value)
- return false;
- tmp = tmp->next;
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement