Tag:storage capacity
-
Time:2021-1-17
preface Why should we learn data structure and algorithm? Here I give a simple example. Programming is like a car, and the data structure and algorithm is the internal gearbox of the car. A driver who doesn’t understand the principle of gearbox can also drive. Similarly, a driver who doesn’t understand data structure and algorithm […]
-
Time:2019-10-13
linearList.h #ifndef _INC_STDIO_8787 #define _INC_STDIO_8787 #include #include # Define LIST_INIT_SIZE 100//Initial allocation of linear table storage space # Define LIST_INCREMENT 10//Linear Table Storage Space Allocation Increment Typeedef int ElemType; // Type of Data Element typedef struct { ElemType * elem; // Set address of storage space Int length; // Length of the current linear table […]