316. Remove Duplicate LettersTotal Accepted:2367Total Submissions:12388Difficulty:MediumGiven a string which contains only lowercase letters, remove d...
分类:
其他好文 时间:
2015-12-19 20:30:30
阅读次数:
487
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j] ...
分类:
其他好文 时间:
2015-12-19 00:15:16
阅读次数:
213
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ...
分类:
其他好文 时间:
2015-12-17 08:12:55
阅读次数:
153
思路借鉴了https://leetcode.com/discuss/73806/15-ms-java-solutionfor "cbacdcbc", we counts each letter's index:a----2b----1,6c----0,3,5,7d----4we go from a ...
分类:
其他好文 时间:
2015-12-14 06:49:01
阅读次数:
143
Total Accepted:59433Total Submissions:230628Difficulty:MediumGiven a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydis...
分类:
其他好文 时间:
2015-12-12 20:12:38
阅读次数:
156
题目:Given an arraynumscontainingn+ 1 integers where each integer is between 1 andn(inclusive), prove that at least one duplicate number must exist. Ass...
分类:
其他好文 时间:
2015-12-12 06:59:34
阅读次数:
210
题目:Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure y...
分类:
其他好文 时间:
2015-12-10 21:57:48
阅读次数:
246
如果是同一个静态库中的文件链接的时候有冲突,可能是这个静态库不支持模拟器,真机运行就好了。或者可以使用xcode7的虚拟机跑也是没问题的。duplicate symbol _llvm.cmdline in:/Users/RinpeChen/Documents/项目/mq_dd/DuoDuo/DuoD...
分类:
其他好文 时间:
2015-12-10 18:43:23
阅读次数:
1311
IOS 开发中遇到 duplicate symbol 解决方案项目中需要引入第三方库,并且Xcode升级到了7.1,然后发现出现了近2000过个duplicate symbol的错误提示,仔细查看定位到两个.a文件,有很多的.o文件冲突了。因为这两个是第三方的,自己没法修改,所以求助网络资料,得出下...
分类:
移动开发 时间:
2015-12-07 12:01:04
阅读次数:
182
这个题之前做过,实在没想出什么好方法,今天突然发现这个完全就是个有环链表找开始进入环的题目,真是相当精巧public class Solution { public int findDuplicate(int[] nums) { int slow = 0; int ...
分类:
其他好文 时间:
2015-12-05 16:02:59
阅读次数:
148