Created
December 20, 2021 03:46
-
-
Save fortitudepub/8174f292dac8df91184f6979ff3090c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
比如: | |
定义一个单链表,链表上一共有10个节点,每个节点是对应的数字编号(1到10),要求实现从链表尾部打印编号的程序,也即打出的结果是10到1。 | |
要求: | |
1、需在程序中生成按编号递增的单链表。 | |
2、可考虑将链表遍历,存入数组,然后反序输出数组结果即可。 | |
3、注意程序执行完毕后应当释放内存。 | |
4、可在线查询资料。 | |
5、时间限定为1个小时。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment