Home > Back-end >  Pursuing big religion teach me how to do! ?
Pursuing big religion teach me how to do! ?

Time:09-17

Write programs to implement singly linked lists of all kinds of basic operations (assuming the sequence table element type as int), write the main function test, complete the following functions:
(1) the initialization singly linked lists;
(2) randomly generated number 10, inserted singly linked lists;
(3) output singly linked lists all elements;
(4) delete singly linked lists and output the single largest element in the table,

Write a program to achieve chain stack various basic computing element type to int (assuming the sequence table), write a main function test, complete the following functions:
(1) initialize stack chain;
(2) randomly generated number 10, inserted into the chain stack;
(3) output chain stack all the elements;
(4) a stack of two elements, and the output chain stack,

Write a program to complete the following functions:
(1) according to the string STR="A (B (G), (D), C (E, F) (H))" structure binary tree
(2) the output of a given binary tree all leaf nodes,

Write a program to complete the following functions:
(1) the figure of initialization (adjacency matrix);
(2) to design a algorithm converts adjacency matrix adjacency tables;
(3) the breadth-first traversal and output result

CodePudding user response:

See the data structure of a book, the word count
  • Related