algo recursive fonctionne manque le tris des mini listes

This commit is contained in:
hugogogo
2021-09-25 17:19:07 +02:00
parent 38a5a88d8a
commit 115c03b8ca
9 changed files with 154 additions and 86 deletions

View File

@@ -41,7 +41,6 @@ t_stack *init_stack(int ac, char **av)
start->next = tmp;
tmp = start;
}
start->limit = 1;
return (start);
}
@@ -58,7 +57,7 @@ t_list *launch_algo(t_stack **a, t_stack **b, int flag)
if (flag)
{
fill_solution(solution, "start");
mark_step(solution);
mark_step(solution, "start");
}
hugo_sort(a, b, solution);
// bubble_sort(a, b, solution);