add Vova`s list

This commit is contained in:
ada-dmitry
2023-05-09 17:49:42 +03:00
parent 31a9fdc3f7
commit 875630a713
7 changed files with 213 additions and 9 deletions
+20
View File
@@ -0,0 +1,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define CO 3
#define LEN 3
typedef struct Node
{
char name[LEN];
struct Node *ne;
struct Node *prv;
} Node;
void node_print(Node *n);
Node *add_tail(Node *n, char s[]);
Node get(Node *node, int n);
Node *find_0(Node *n1, Node *n2);
int len(Node *n);