资源列表
[数据结构常用算法] MyOOCFwV1_0
说明:使用C语言时,经常需要调用malloc()和free()函数来进行动态内存的分配和回收。有些时候,程序员可能会忘记回收分配的动态内存。为了解决这个问题,这里设计了一个代替malloc()和free()函数的数据结构(或者类)——ObjectManager。ObjectManager中提供了objmgr_malloc()和objmgr_free()以及objmgr_show_mem_info()函数。objmgr_malloc()函数负责按字节总数动态分配内存并且予以记录,objmgr_free(<> 在 2025-06-05 上传 | 大小:17kb | 下载:0
[数据结构常用算法] dfs
说明:深度优先搜索算法DFS的实现,1.如果有可能,访问一个领接的未访问的节点,标记它,并把它放入栈中。 2 当不能执行规则 1 时,如果栈不为空,则从栈中弹出一个元素。 3 如果不能执行规则 1 和规则 2 时,则完成了遍历。-Depth-first search algorithm DFS implementation, 1. If possible, visit a collar then outstanding access node, mark it and put it into the<陈源> 在 2025-06-05 上传 | 大小:1kb | 下载:0
[数据结构常用算法] expression
说明:利用堆栈先进后出的特点,使用进栈与出栈实现各种表达式的运算。-After the stack out of the use of advanced features, the use of the stack into the stack and out of operations to achieve a variety of expressions.<陈源> 在 2025-06-05 上传 | 大小:1kb | 下载:0
[数据结构常用算法] DSF_PU_vineet
说明:Data structures and files algorithms<vineet> 在 2025-06-05 上传 | 大小:27kb | 下载:0