Questions tagged as 'lista-encadeada'

1
answer

Knowing the highest repetition code in a data structure (list)

I'm doing a Java Data Structures project and I have a list that is simply chained that receives the code, name, sex, and course of each person. I need only validate which code (integer type) that repeats more often and show the last value of the...
asked by 18.04.2014 / 05:43
1
answer

Lists chained in C

I have two lists in C, where you have to include several records in the list of customers, and then have some customer able to reserve a car that is stored in the list of cars. The part of inclusion, removal and visualization of customers I can...
asked by 29.10.2015 / 22:34
1
answer

Concatenation of two linked lists

The problem is:    Write a program and make a function to concatenate two lists of integers in a third list that should be returned by the function, in C #. My only question is how to concatenate the list. Code of the class that repres...
asked by 01.09.2017 / 12:36
1
answer

What is the meaning of Node?

I'm studying piles and queues, below I was given a code to parse. The code first creates queue after queuing the values. After that it removes each of the values from the queue and tells you whether or not you succeeded in removing the value....
asked by 15.12.2017 / 20:32
2
answers

Is it possible for an attribute of a class to be the class itself?

I'm starting to learn% object-oriented%, and I have to do an algorithm using threaded lists. In C++ , I used a structure that had as one of the attributes a pointer to the structure itself. I would like to know if it is possible to do some...
asked by 23.09.2016 / 16:17
1
answer

Write list in binary file

The idea of this method is to write all words from a list of nodes in a binary file. I have a linked list of nodes, where each node has two information, its information, and a reference to the next node in the list. The idea is to write the info...
asked by 26.11.2015 / 11:51
1
answer

How to Make a Chained List in Assembly?

I have a college job and need to do a linked list in assembly , I would like to know how to loop to insert all the elements in the list and keep them on . The list should contain the data of a broadcaster (name of the film, main actor, number...
asked by 29.04.2014 / 22:48
1
answer

Chained list without head in c

I would like to know how I create a function to remove at the top of the headless list. #include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX_NOME 50 typedef struct pessoa{ char nome[MAX_NOME]; int...
asked by 25.09.2015 / 20:23
2
answers

Problem removing element from a linked list

I'm implementing a threaded list in Java. However, the remove function is causing me some problems, but specifically the remove part in the middle of the list. My list consists only of an integer field with a note. public void remove(int nota)...
asked by 20.11.2015 / 03:08
2
answers

Remove element from a linked list

I am implementing a chained list of type "with head". It follows struct referring to the list and creating it in main () struct lista{ int info; struct lista *prox; }; typedef struct lista Lista; int main () { Lista *l, *aux;...
asked by 21.09.2015 / 14:32