码迷,mamicode.com
首页 >  
搜索关键字:you have two operati    ( 41000个结果
CareerCup之1.3字符串去重
【题目】原文:1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two add...
分类:其他好文   时间:2014-06-02 21:32:04    阅读次数:284
Adding Gravity to your UI Components
ProblemYou want your UI components to have gravity, so that if they are dragged up to the top of the screen, they will descend on their own. Combining...
分类:其他好文   时间:2014-06-02 20:01:49    阅读次数:243
Google Chrome: Make the Bookmarks Bar Display as Icons Only
By reducing your bookmarks to show only the icons, you can access more of them from the Bookmarks bar. This works great for sites with recognizable fa...
分类:其他好文   时间:2014-06-02 17:39:03    阅读次数:276
cygwin下清屏的三种方法
1. 做一个clear脚本,放到/bin下去 $vim /bin/clear #!/bin/bash cmd /c cls 2. ctrl + L 3. 在cygwind中install ncurses (in Utils) and then you can use: clear 我倾向于第三种方法...
分类:Windows程序   时间:2014-06-02 17:30:04    阅读次数:424
How to change drive in cygwin
In DOS you may have been used to D: to change to the D drive. Cygwin provides a mapping of DOS/Windows drives to the unix file system by mapping or mo...
分类:Windows程序   时间:2014-06-02 17:18:02    阅读次数:408
【leetcode】Permutations
问题: Given a collection of numbers, return all possible permutations. For example, [1,2,3] have the following permutations: [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], and [3,2,1]. 分析: ...
分类:其他好文   时间:2014-06-01 15:04:42    阅读次数:259
【leetcode】Permutations II
问题: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2], [1,2,1], and...
分类:其他好文   时间:2014-06-01 13:03:12    阅读次数:324
LeetCode: Binary Tree Inorder Traversal [094]
【题目】 Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,3,2]. Note: Recursive solution is trivial, could you do it iteratively? confused what "{1,#,2...
分类:其他好文   时间:2014-06-01 13:01:23    阅读次数:279
【LeetCode】Merge Sorted Array
Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that ...
分类:其他好文   时间:2014-06-01 12:04:32    阅读次数:175
SQL关键字与数据库字段冲突产生的错误!
Caused by: java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right s...
分类:数据库   时间:2014-06-01 11:31:29    阅读次数:371
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!