algo recursive fonctionne manque le tris des mini listes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user