Skip to content

Linked List, Data Structure

Hello,

What is a Linked List? Linked-list is a list that each element has a pointer to the next one.

The professor once again send us an enunciation to solve and it is too big. And I will not translate it. Inside the problem it have a Linked list.

Problem using linked-list..

Regards,
Matheus

PS: You can see the enunciation in portuguese and then use google translate to translate it

Published inAprendendoCEstrutura de Dados

2 Comments

  1. francisco junior francisco junior

    Escreva um programa que crie duas listas (L1 e L2). Em seguida, o seu programa deve calcular a união das duas listas, ou seja, construir uma lista L3, contendo todas as informações presentes em L1 e todas as informações presentes em L2. As listas L1 e L2 devem permanecer inalteradas

  2. Francisco,

    Faca um programa onde tem a lista L3. Depois faca um for que passa por todos os elementos de L1, adicionadno um a um na L3 e em seguida outro for que passe por todos os elementos de L2, novamente adicionando a L3.

    Abraços

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.