- 博客(3)
- 收藏
- 关注
原创 6-1 单链表逆转 (20分)(C实现)
本题要求实现一个函数,将给定的单链表逆转。 函数接口定义: List Reverse( List L ); 其中List结构定义如下: typedef struct Node *PtrToNode; struct Node { ElementType Data; /* 存储结点数据 */ PtrToNode Next; /* 指向下一个结点的指针 */ }; typedef ...
2020-02-14 09:21:10 1569 1
原创 自测-5 Shuffling Machine (20分)(C实现)
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid “inside jobs” where employees collaborate with gambler...
2020-02-14 08:44:58 328
原创 自测-4 Have Fun with Numbers (20分)(C实现)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number con...
2020-02-13 19:52:56 333
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人