资源列表
[数据结构常用算法] LRU-Cache
说明:设计和实现一个数据结构最近最少使用(LRU)缓存。它应该支持以下操作:获取和设置。 得到(关键)得到的价值(永远是积极的)关键如果键存在于缓存中,否则返回1。 集(关键字,值)——设置或插入的值如果不是已经存在的关键。当缓存达到容量,应该最近最少使用项失效前插入一个新项。-Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op<胡延旭> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Text-Justification
说明: 给定一组单词和长度,格式文本,每一行有L人物和完全(左和右)合理的。 你应该包你的话在一个贪婪的方法,也就是说,包尽可能多的单词可以在每一行。垫额外空间“必要时,每一行有L字符。 单词之间额外的空格应该尽可能均匀分布。如果空间的数量在一个单词之间不匀,左边的空槽将分配更多的空间比右边的插槽。 最后一行文本,应该向左对齐,没有单词之间插入额外的空间。-Given an array of words and a length L, format the text such tha<胡延旭> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Shortest-Palindrome
说明:给定一个字符串,你可以将它转换成一个回文通过添加字符在它前面。找到并返回最短的回文可以发现通过执行这个转换。 例如: 鉴于“aacecaaa”,返回“aaacecaaa”。 鉴于“abcd”,返回“dcbabcd”。-Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest p<胡延旭> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[图形图像处理(光照,映射..)] rotation
说明:图形图像的一些基本的操作变换,很有用处,可以在这基础上,添加一些其他的功能- Some of the basic operation of the image transform, very useful, you can on this basis, adding a number of other functions<杨钢> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[绘图程序] segmentation-of-color-images
说明:首先将RGB空间的彩色图像转换到LAB空间,然后利用K-means均值聚类方法对lab空间的彩色图像进行图像分割-this method of color image segmentation isbased on K-means and the Color space conversion between RGB and Lab<张三> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[易语言编程] DDADFCZADFASDFGSG
说明:汇编指针到字节集 汇编指针到字节集-HOOK API HOOK API HOOK API<tcotat> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[其他小程序] eight-quens
说明:八皇后问题,这是一个经典的c语言程序问题,此程序用visual c++编写。-eight queens problems,which is a classic problem, code prepared by visual c++<xinhuan> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[图形图像处理(光照,映射..)] image
说明:构建canvas图形并转换成图片形式存储至服务端。-Construction of canvas graphics and converted into the form of pictures to the server<wind> 在 2026-01-22 上传 | 大小:1kb | 下载:0
[单片机(51,AVR,MSP430等)] bttest
说明:在玩Arduino的小練習,可以更改藍芽模組的名稱-Playing Arduino little practice, you can change the name of Bluetooth modules, etc.<willy> 在 2026-01-22 上传 | 大小:1kb | 下载:0