This commit is contained in:
ada-dmitry
2023-04-01 22:43:00 +03:00
parent fa03214161
commit 60d07bfca5
5 changed files with 97 additions and 71 deletions
@@ -1,7 +1,7 @@
#define COUN 40
typedef struct Node {
typedef struct Node
{
long int data;
struct Node *next;
struct Node *prev;
@@ -11,8 +11,8 @@ typedef struct Node {
void pr(node *tmp);
node *add_head(node *head, int hh);
node *add_tail(node *head, int hh);
node *del_head(node *head);
node *del_tail(node *list);
node *del_head(node *head);
node *del_tail(node *list);
// node *sort(node *head);
// int lenghth(node *list);
// void writefile(const char *path, node *head);