06 2024 档案

摘要:一个带有优先级的链表: struct list { struct list* next; u32 priority; } 如果要按照优先级插入某个新节点node,算法一般会写成: int list_insert(list **head, list* new) { if (head == null | 阅读全文
posted @ 2024-06-20 22:07 moonのsun 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示