Code Monkey home page Code Monkey logo

Comments (2)

CaiCandong avatar CaiCandong commented on May 25, 2024 1

习题解析2-7-b
答案应该为(10),(12),(8),(11),(3),(14) Q指针应该移动到P指针后

from data-structure.

kangjianwei avatar kangjianwei commented on May 25, 2024 1

@CaiCandong 嗯,你算的是正确的。

习题2.4是因为原图存在误导性。它那个图片后面有串省略号,所以当时以为在后面还有更多结点,因此2.4.7里把最后一个结点也乘2了。现在对照2.4.6想想,从出题人的角度出发,他应该不希望最后一个结点被乘2,哎...

习题2.7.b如你所述,缺少了将Q指向待释放结点那一步。

以上问题已在Girhub中更新。

from data-structure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.