码迷,mamicode.com
首页 >  
搜索关键字:least    ( 1796个结果
CTP API 开发之二 :制作CTP java版 API
目前上期技术CTP系统提供的API版本是C++版本 SWIG是一个能将C/C++接口转换为其他语言的工具,目前可以支持Python,Java,R等语言。 本文主要介绍Windows 32/64位平台下利用Swig工具将CTP C++接口API转换为Java可调用的接口。 1、从CTP官网下载最新AP ...
分类:编程语言   时间:2018-07-05 17:19:09    阅读次数:209
1003 Emergency (25)(25 point(s))
problem 1003 Emergency (25)(25 point(s)) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows seve ...
分类:其他好文   时间:2018-07-03 23:50:11    阅读次数:234
【算法】—— LRU算法
LRU原理 LRU(Least recently used,最近最少使用)算法根据数据的历史访问记录来进行淘汰数据,其核心思想是“如果数据最近被访问过,那么将来被访问的几率也更高”。 实现1 最常见的实现是使用一个链表保存缓存数据,详细算法实现如下: 1. 新数据插入到链表头部; 2. 每当缓存命中 ...
分类:编程语言   时间:2018-07-02 21:33:58    阅读次数:185
(Java) LeetCode 274. H-Index —— H指数
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According ...
分类:编程语言   时间:2018-07-02 01:27:51    阅读次数:391
Memcached、Redis、Mongodb
Memcached(内存Cache) Memcached 是一个高性能的分布式内存对象缓存系统。通过在内存里维护一个统一的巨大的hash表,它能够用来存储各种格式的数据,包括图像、视频、文件以及数据库检索的结果等。简单的说就是将数据调用到内存中,然后从内存中读取,以减轻数据库负载。 MemCache ...
分类:数据库   时间:2018-06-27 18:50:47    阅读次数:182
解决报错问题:At least one JAR was scanned for TLDs yet contained no TLDs.
问题描述:后台报错 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were ...
分类:编程语言   时间:2018-06-25 18:58:49    阅读次数:876
为什么串行传输时总是LSB在前?
https://superuser.com/questions/1104212/why-do-serial-ports-send-data-least-significant-bit-first 其实是没有什么强制性的理由的,单纯是一种历史习惯。 Well, the reason why is th... ...
分类:其他好文   时间:2018-06-25 16:53:32    阅读次数:209
kubernetes 垃圾回收机制
一:前言Kubernetes系统在长时间运行后,Kubernetes Node会下载非常多的镜像,其中可能存在很多过期的镜像。同时因为运行大量的容器,容器推出后就变成死亡容器,将数据残留在宿主机上,这样一来,过期镜像和死亡容器都会占用大量的硬盘空间。如果磁盘空间被用光,可能会发生非常糟糕的情况,甚至 ...
分类:Web程序   时间:2018-06-24 20:52:50    阅读次数:842
leetcode 53. Maximum Subarray
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Inpu ...
分类:其他好文   时间:2018-06-23 22:51:11    阅读次数:222
209. First Unique Character in a String
Description Find the first unique character in a given string. You can assume that there is at least one unique character in the string. Description D ...
分类:其他好文   时间:2018-06-23 11:32:59    阅读次数:168
1796条   上一页 1 ... 45 46 47 48 49 ... 180 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!