Create a list to save the elements and search if a specific key is in the list. Header file typedef struct list { int array[100]; int size; }SqList; Source file #include #include #include "list.h"...





  1. Create a list to save the elements and search if a specific key is in the list.



Header file


typedef struct list


{


            int array[100];


            int size;


}SqList;



Source file


#include


#include


#include "list.h"


void create(SqList *l)//create the sequential list of n elements


{



}



void seqSearch(SqList *l, int key)//sequential search


{





}



void binSearch(SqList *l, int x)//binary search


{




}



void main()//main function


{


            SqList *L;


            L=(SqList *)malloc(sizeof(SqList));





}



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here