数据结构-链表的基本操作-题解(Java代码) 摘要:删除链表的逻辑希望再丰富下,这个链表隐含的规律放在题中,感觉不太好,而且测试用例中是有delete操作的 import java.util.ArrayList; import …… 题解列表 2019年10月09日 0 点赞 0 评论 719 浏览 评分:7.3
1676:链表的基本操作 摘要: #include #include #include typedef struct list { int data; …… 题解列表 2021年11月09日 0 点赞 0 评论 328 浏览 评分:7.3
编写题解 1676: 数据结构-链表的基本操作 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> //结构体定义 typedef str…… 题解列表 2022年02月18日 0 点赞 0 评论 183 浏览 评分:8.0
时间超限!!!就来看我 摘要:解题思路:都是链表的基本操作 思路就不多赘述了,主要是时间超限问题。输入输出最好都是用scanf、printf,而不是cin,cout;可能还有人会有疑问说我输入数值时没使用cin/cout啊,包括我…… 题解列表 2024年04月29日 1 点赞 0 评论 174 浏览 评分:8.0
数据结构-链表的基本操作-题解(C++代码) 摘要:这里用cin和cout可能会时间超限,全部改用c中的输入和输出,字符串的比较不用string用char类型 ```cpp #include #include #include using n…… 题解列表 2020年05月08日 0 点赞 0 评论 697 浏览 评分:8.7
数据结构-链表的基本操作-题解(C语言代码) 摘要:1、宏定义: #define OK 1 #define FAULT 0 #define Delete "delete" #define Get "get" …… 题解列表 2020年02月14日 0 点赞 0 评论 562 浏览 评分:9.0
优质题解 数据结构-链表的基本操作-题解(C语言代码) 摘要:首先先把题目要求分明确了。然后利用函数一步一步实现。 题目要求的字符串有四个,分别是 “insert” `L *insert (L *insHead);`、 “delete” `L *del (…… 题解列表 2019年10月01日 0 点赞 4 评论 2780 浏览 评分:9.3
优质题解 Manchester-数据结构-链表的基本操作 摘要:解题思路:首先思考一下总思路①:结点定义typedef struct node_{ int data; struct node_* next; }*node,Node;②:声明所需的函数…… 题解列表 2018年03月14日 23 点赞 6 评论 4569 浏览 评分:9.8
链表的基本操作 (Java代码) 摘要:import java.util.ArrayList; import java.util.Scanner; public class Main { public static void…… 题解列表 2022年06月16日 0 点赞 0 评论 198 浏览 评分:9.9
数据结构-链表的基本操作(c++) 摘要:#include <iostream> #include <cstring> #include <string> #include <stdlib.h> using namespace std…… 题解列表 2022年03月01日 0 点赞 0 评论 620 浏览 评分:9.9