Comments (6)
@bobobe 那个是书上的笔误,你参考一下习题集后面给出的答案就明白了...
from data-structure.
第1.19题,i从0开始,所以第一个数字应该是1,您写成2了?
from data-structure.
第2.15题,ha和hb长度相同时,您的代码会使链表构成一个环,您可以检查一下是否正确?
from data-structure.
第2.15题,ha和hb长度相同时,您的代码会使链表构成一个环,您可以检查一下是否正确?
我参考的是您这个博客上的答案,不知是不是最新的?https://www.cnblogs.com/kangjianwei101/p/5222655.html
from data-structure.
@bobobe 第1.19题,题目要求i从1开始,不是从0开始。
from data-structure.
@bobobe 第2.15题,在新分支的代码已经修正了。
而CFree分支的代码中,由于缺少了一个判别条件,因而其中的两个if可能会同时成立,所以导致了ha与hb长度相等时会出现循环的问题。
刚才把CFree分支的代码也修复了!
from data-structure.
Related Issues (20)
- 习题2.28的问题 HOT 1
- 习题6.51的问题 HOT 1
- 习题6.58的问题 HOT 1
- VisualC++/CourseBook/0209_ELinkList HOT 2
- 请问下我用clion,环境配置好了,但是运行带main的文件报错? HOT 1
- 习题2.4和习题2.7 HOT 2
- 二叉树 BiTree.c 中 PrintTree() 向队列里 EnQueue(&Q, NULL); 干嘛? HOT 3
- 怎么只到第八章,后边的呢 HOT 2
- SqQueue 的销毁方法的 return HOT 1
- 使用CLion环境,运行结果为乱码的解决方法
- 为什么用CLion输入的中文都是乱码呀 HOT 1
- 有电子书籍链接吗 或者这个是哪个版本的书 HOT 3
- Visual C++ 2015静态库 HOT 1
- ListDelete问题 HOT 1
- dev C++ ExerciseBook 代码3.16 127行
- Visual C++ 2019 配置静态库不成功? HOT 1
- Compare函数是自定义函数吗? HOT 2
- 图片显示问题 HOT 1
- 后续的更新计划问题
- 7.12 Dijkstra 算法正确性试证明
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-structure.