tgrekov-push_swap
HIVE push_swap July 2024
|
Definition in file is_sorted.c.
Go to the source code of this file.
Functions | |
int | is_sorted (t_stack *stack, int mode) |
Check if the contents of a stack are in the correct order relative to the smallest element. | |
int is_sorted | ( | t_stack * | stack, |
int | mode | ||
) |
Check if the contents of a stack are in the correct order relative to the smallest element.
[in] | stack | |
[in] | mode |
int |
Definition at line 31 of file is_sorted.c.
References get_minix().