往顺序表L中插入数据e,新数据的位序为i
//试题中用到的头文件#include <stdio.h>#include <stdlib.h>//试题中用到的通用数据类型和宏typedef int Status;#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define OVERFLOW -2(1)已知顺序表中用到的数据类型和宏如下typedef struct{ int ID; int Math; int English;}ElemType; typedef struct{ ElemType *elem; int ListLength; int ListSize;}SqList;#define LIST_INIT_SIZE 100 //初次分配存储空间容量#define LIST_INCREMENT 10 //存储空间递增数量请往顺序表L中插入数据e,新数据的位序为iStatus ListInsert_Sq(SqList &L, int i, ElemType e )(2)已知链表中用到的数据类型和宏typedef struct{ int ID; int English; int Math;}ElemType;typedef struct lnode //链表结点数据类型{ ElemType data; struct lnode *next;}LNode, *LinkList;请在链表L中,删除位序为i的结点,并用e返回结点数据Status ListDelet_L(LinkList L, int i, ElemType &e )