Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long_hw_02 #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Long_hw_02 #77

wants to merge 1 commit into from

Commits on Aug 12, 2024

  1. hw_02

    1.将共享指针改为unique+raw的组合,避免循环相互使用导致计数器不归零不释放
    2.把构造函数改为const &类型
    3.优化了insert,原来的并没有删除多余节点
    4.另外测试了一下,这里的insert逻辑上不是单纯插入而是会替换掉原来的数据,有没有更好的实现方法呢
    LLong0218 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a3cac0c View commit details
    Browse the repository at this point in the history