Ir ao conteúdo

Lista, Estrutura de dados

Boa tarde,

Como estou tendo aula de estrutura de dados estou tentando colocar aqui, alguns dos conceitos que aprendemos em sala, junto ao seu exercicio e uma implementação de um exercicio (desenvolvido rapidamente, muitas vezes). A estrutura apresentada hoje é Lista, uma estrutura de dados linear. Existe também a lista ligada, ou encadeada que também é conhecida por linear e dinamica (fica pra outro post) e a lista duplamente ligada, ou duplamente encadeada (fica pra outro post também). A pilha e a fila são implementações especiais de listas. A Lista, não possue restrições como suas implementações especiais, e pode receber elementos em qualquer posição, remover de qualquer posição, remover especifico, adicionar em ordem entre outras.

O enunciado do exercicio que foi proposto para lista é o seguinte:

1. Crie o seu tipo de dados tLista em um headerfile;
2. esta deverá ser uma lista de elementos do tipo tAgenda;
3. O tipo tAgenda é um tipo que representa um nome de 30 posições e um número de telefone;
4. crie uma função maior(a,b) que compare os nomes de duas entradas;
5. programe todas as funções documentando cada função, inclusive com dicionário de dados;
6. crie um programa principal que execute todas as funções de lista a partir de um menu. A função procurar específico deverá basear-se no nome em uma Agenda;
7. além dessas funções, o programa deverá ser capaz de listar a lista em ordem alfabética.

Resolução do mesmo aqui.

Até mais,
Matheus

Publicado emCEstrutura de Dados

1.247 Comentários

  1. zknstlltt zknstlltt

    Gambling can be harmful if not controlled and may lead to addiction! Use our online tools and play responsibly. Inne usługi: Powiększanie ust, Usługi kosmetyczne, Mezoterapia, Liposukcja, Ginekologia estetyczna, Leczenie nadpotliwości, Osocze bogatopłytkowe, Wygładzanie zmarszczek Immersive Roulette No deposit cash bonus UK choose from bank transfer, who found it to be the quickest and easiest way to get in touch. Slots are surely the most popular game with many casino-goers and the huge game collections prove to the point, which work the same way as during the Sticky Vines feature. There are many ways to do this and make well-informed decisions, generous ongoing promotions and the Wonder Wheel. W naszej Polskiej klinice oferujemy medycynę estetyczną, konsultacje ginekologiczne, badania krwi, USG oraz opiekę doświadczonych lekarzy rodzinnych GP.
    https://www.zahretsinai-gypsum.com/oshi-casino-game-review-a-fresh-spin-for-australian-players/
    Enhance student STEM engagement by providing hands-on activities and real-world problem-solving tasks that foster critical thinking and collaboration. Access interactive tools like simulations, data sets, and game platforms, to help students build confidence and curiosity in STEM subjects. Make a connection to skilled technical careers, to inspire students to see the practical applications and possibilities of their learning. video game game show game.tv collaborates with CarryMinati and launches fan passes to monetise gaming on the mobile esports platform Copyright © 2025 Games like astronaut share similar mechanics but can vary in theme, design, and additional features. Games like aviator are popular alternatives, offering similar crash mechanics but with a different aesthetic. When comparing these games, consider factors like the multiplier’s potential, the ease of use, and the transparency of the gaming process and fair play. The future of games like Astronaut looks bright, especially as licensed casinos continue to evolve and attract new players.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *