Posts by GiovanniFilho05 • 1 point
4 posts
-
0
votes0
answers41
viewsQ: Bug in AVL tree implementation
I’m trying to implement an AVL tree, but when I call the Inserts function in the main and step some value(int) happens something strange. The first time the if (of the Inserts function) is…
-
0
votes1
answer28
viewsA: While Repeating Structure Problem
You don’t need to save all the data. for example: If it enters a thousand books you can simply ignore all the data and take only what you need. printf("Digite o numero de livros\n"); scanf("%d",…
-
0
votes2
answers59
viewsA: Doubt Exercise - Academic
for(int count = 0, k = 0; count < 20; count++){ if(count == 0){ resultado += 1; }else{ if(count % 2 == 0){ resultado -= (float) 1/(3 + k); k += 2; }else{ …
canswered GiovanniFilho05 1 -
0
votes0
answers64
viewsQ: While Infinite Loop in C
I’m trying to make a linear list with chained allocation in C and I’m falling into an infinite loop. void busca(Lista L, int x, No* ant, No* pont){ No ptr; *pont = NULL; *ant = L->ptLista; ptr =…
casked GiovanniFilho05 1