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.693 Comentários

  1. rebxhoguc rebxhoguc

    Gates of Olympus bonuses can be big. Players can also activate additional free spins. In addition, the Gates of Olympus RTP, which is 96.50% flat, is considered one of the highest. These basic facts will tell you what to expect from this Pragmatic Play slots game. But the most valuable unclaimed ticket on the list, on average. Gates of olympus strategy guide this is because the bonus pot symbols are scatters, the RTP is around 93% making its odds of winning similar to Slots and slightly lower than live casino table games like Online Blackjack or Online Roulette. Hours of operation: Before we dive into the gameplay, let’s take a quick look at the key details of the Gates of Olympus slot. The following table provides an overview of the game’s specifications. “Gates of Olympus 1000 – Pragmatic Play” is packed with features that enhance its excitement and winning potential. One of the standout features is the “multiplier mechanic”, which is activated by no other than Zeus. (You read it right.) During the game, the god of thunder can randomly throw multipliers onto the grid, ranging from 2x to 500x. These multipliers are added to any winning clusters they land on, significantly boosting the payouts.
    https://bragitrade.com/index.php/2025/12/12/pin-up-casino-spiel-review-spannung-und-gewinnchancen-fur-deutsche-spieler/
    Up against reels of precious gems and mysterious artifacts, players will face a trial to enter the heavenly kingdom. The violet sky seems temptingly just beyond the gates. By combining multipliers it’s possible to win up to 5,000x your total bet, from the Gates of Olympus slots game, or 500,000.00 with 100.00 on the spin. However, it’s a high volatility slot, rated 5 5 by Pragmatic Play, so you can expect to see several losing spins in a series before landing the relatively high-value prizes. Over the long term, the payback percentage is 96.5%. This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

Deixe um comentário

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