码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
面向对象设计的SOLID原则
SPR(The Single Responsibility Principle):单一责任原则 OCP(The Open Closed Principle):开放封闭原则 LSP(The Liskov Substitution Principe):里氏替换原则 DIP(The Dependency ...
分类:其他好文   时间:2016-07-31 13:11:37    阅读次数:213
Comparison of pkgmgmt between different Linux Systems..
installation: searching.. update db & upgrade.. install dependencies.. remove single pkg.. remove pkg and its deps.. remove pkg without removing the p ...
分类:系统相关   时间:2016-07-31 12:53:33    阅读次数:185
Leetcode 136. Single Number
136. Single Number Total Accepted: 140971 Total Submissions: 276396 Difficulty: Medium Given an array of integers, every element appears twice except ...
分类:其他好文   时间:2016-07-31 11:20:50    阅读次数:152
【leetcode77】Single Number
题目描述:给定一个数组,只有一个数字出现两次,判断那个数字思路: 不断取出数据进行异或,最后一个数字,因为相同的数字会抵消 代码:public class Solution { public int singleNumber(int[] nums) { int left = nums[0]; for(int i =1; i< nums.length; i++)...
分类:其他好文   时间:2016-07-31 00:23:48    阅读次数:150
Leetcode 2. Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2016-07-30 22:16:30    阅读次数:116
OOD/DDP 中的 SRP 原则
单一职责原则 SRP(The Single Responsibility Principle):一个类应该只有一个发生变化的原因。这里的变化指职责的变化。 SRP 很好理解,它的要求是 让一个类只做一种类型责任,当这个类需要承当其他类型的责任的时候,就需要分解这个类。听起来很简单,即一个类指做一种事 ...
分类:其他好文   时间:2016-07-30 16:39:51    阅读次数:166
sublime text 3注册码
—– BEGIN LICENSE —– Michael Barnes Single User License EA7E-821385 8A353C41 872A0D5C DF9B2950 AFF6F667 C458EA6D 8EA3C286 98D1D650 131A97AB AA919AEC EF ...
分类:其他好文   时间:2016-07-30 14:49:51    阅读次数:98
260. Single Number III [medium] (Python)
题目链接https://leetcode.com/problems/single-number-iii/题目原文 Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two e...
分类:编程语言   时间:2016-07-30 12:14:59    阅读次数:218
341. Flatten Nested List Iterator
碰到这个是挺不懂的 就是设计一个stack,然后每次调用hasNext()的时候就把最后一个元素展开,循环,直到展开到有single interger为止 ...
分类:其他好文   时间:2016-07-30 06:52:37    阅读次数:125
mariadb 使用mysqldump 二进制数据库备份操作
实验内容时间数据库.表表内容(id)操作内容8点db1.t11,2,3进行全备份9点db1.t14,5(新增加)增加数据10点db1.t1deletedb1删除db111点发现数据库内容有误,要求回复正常的数据8点数据全备份mysqldump-uroot-ppassword--all-databases--single-transaction--master-data=2>/tmp/my..
分类:数据库   时间:2016-07-29 19:30:22    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!