码迷,mamicode.com
首页 >  
搜索关键字:the most fundamental    ( 3981个结果
LeetCode11. Container With Most Water
1. 题目链接 "传送门" 2. 题意 给出n个数a1, a2... an, 分别表示坐标i处的木板高度, 现要求选择两个木板, 使得乘的水的面积最大. 3. 解题思路 枚举, 建立两个指针指向数组左右两端, 很显然, 对于两个指针指向的两个木板中较短的那一个来说, 如果选择了这块木板, 他能容纳最 ...
分类:其他好文   时间:2020-04-28 00:15:51    阅读次数:64
python装饰器Decorators
本人在www.programiz.com网站上搜到一篇讲解python装饰器的文章,由浅入深,步步深入,可以一读。 声明:此篇文章是从programiz.com网站摘录得到的,并非本人原创。原来为英文版本,本人翻译成中文版本,并加了部分批注,如有错误还请指正。 Python Decorators A ...
分类:编程语言   时间:2020-04-23 00:41:58    阅读次数:94
How to Change John Deere Speed Limit with PLD File Editor
John Deere PayLoad (PLD) File Editor – this is Developer level tool, that allows you to change factory parameters in the PLD files using John Deere Se ...
分类:其他好文   时间:2020-04-22 22:48:59    阅读次数:89
I - I HDU - 3466Proud Merchants(贪心+01背包)
I I HDU 3466Proud Merchants(贪心+01背包) Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in ...
分类:其他好文   时间:2020-04-20 14:04:37    阅读次数:77
第5章 技巧性基础:5.2 零初始化
5.2 Zero Initialization 5.2 零初始化 For fundamental types such as int, double, or pointer types, there is no default constructor that initializes them wi ...
分类:其他好文   时间:2020-04-19 14:40:26    阅读次数:62
观察者模式
定义 定义了对象之间的一对多依赖,让多个观察者对象同时监听某一个主题对象,当主题对象发生变化时,它的所有依赖者(观察者)都会收到通知并更新 类型 行为型 适用场景 关联行为场景,建立一套触发机制 观察者模式-优点 观察者和被观察者之间建立一个抽象的耦合 观察者模式支持广播通信 观察者模式缺点 观察者 ...
分类:其他好文   时间:2020-04-18 21:20:19    阅读次数:58
670. Maximum Swap
Problem : Given a non negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you ...
分类:其他好文   时间:2020-04-18 13:33:58    阅读次数:75
Semaphore源码解析
应用场景 举个栗子,30个人上一个公共厕所,但是只有3个坑位 semaphore.acquire sync acquireSharedInterruptibly ①AQS setHeadAndPropagate sync .releaseShared ① AQS tryReleaseShared,具 ...
分类:其他好文   时间:2020-04-18 12:12:17    阅读次数:68
tcp reset
RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a pac ...
分类:其他好文   时间:2020-04-18 09:16:18    阅读次数:74
455. Assign Cookies
Problem : Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child ...
分类:其他好文   时间:2020-04-14 18:27:41    阅读次数:69
3981条   上一页 1 ... 16 17 18 19 20 ... 399 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!