资源列表
[其他小程序] knapsack-problem
说明:背包问题即给定一组物品,每种物品都有自己的重量和价格,在限定的总重量内,我们如何选择,才能使得物品的总价格最高。-A hybrid algorithm combining ant colony system with multi-choice Knapsack problem was proposed.<刘芳> 在 2025-05-28 上传 | 大小:1kb | 下载:0
[其他小程序] Free-the-ball-bounce
说明:此代码模拟小球从一定高度自由下落,在阻力作用下,慢慢掉到地上静止的过程-This code to simulate a ball falling a certain height, under the influence of resistance, slowly fell to the ground and the stillness of the process<chenxiang> 在 2025-05-28 上传 | 大小:1kb | 下载:0
[其他小程序] Remove-Nth-Node-From-End-of-List
说明:各位一个链表,删除第N个结点,然后返回链表的首结点-Given a linked list, remove the nth node the end of list and return its head.<王汝鑫> 在 2025-05-28 上传 | 大小:1kb | 下载:0
[其他小程序] Merge-k-Sorted-Lists
说明:合并K个有序的链表,然后返回结果链表的首结点-Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.<王汝鑫> 在 2025-05-28 上传 | 大小:1kb | 下载:0
[其他小程序] Swap-Nodes-in-Pairs
说明:给定一个链表,对其结点进行两两交换,然后返回结果链表的首结点-Given a linked list, swap every two adjacent nodes and return its head.<王汝鑫> 在 2025-05-28 上传 | 大小:1kb | 下载:0