摘自:https://github.com/boot2docker/boot2docker/issues/824An error occurred trying to connect: Get https://192.168.59.103:2376/v1.19/containers/json: x5...
分类:
系统相关 时间:
2015-06-25 17:03:49
阅读次数:
333
#26 Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for ...
分类:
其他好文 时间:
2015-06-24 12:59:55
阅读次数:
121
No matching provisioning profiles found.No matching code signing identity found.Your account already has a valid iOS Distribution certificate.由于苹果只允许它...
分类:
移动开发 时间:
2015-06-23 17:24:45
阅读次数:
126
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2015-06-23 15:50:51
阅读次数:
92
#14 Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.
这个题求多个字符串的公共前缀,除了要考虑串空外,如果存在公共前缀,那么必定也是第一个串的前缀。
所以可以以第一个串为基准,比较其他串的前缀是否与第一个串相同。
c...
分类:
其他好文 时间:
2015-06-23 11:55:01
阅读次数:
129
在网上搜索很多解决方案,并不适用于我的问题,最后通过以下步骤解决:
1. 更新软件源(防止build-essential不能 安装),然后安装build-essential和linu-headers-$(uname -r)(其中$(uname -r)是你的Linux内核版本号)
sudo apt-get update
sudo apt-get install build-essential l...
分类:
其他好文 时间:
2015-06-23 10:14:56
阅读次数:
180
DATE_ADD和DATE_SUB函数可以用INTERVAL关键字标识的时间间隔进行加减操作.1.更新表中有效期valid_time字段值都增加一天UPDATE cqh_activity SET valid_time=DATE_ADD(valid_time,INTERVAL 1 DAY);2.更新表...
分类:
数据库 时间:
2015-06-22 14:54:13
阅读次数:
221
Valid Sudoku
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are fil...
分类:
其他好文 时间:
2015-06-22 11:13:05
阅读次数:
141
Valid Palindrome : https://leetcode.com/problems/valid-palindrome/Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,
“A man, a pl...
分类:
其他好文 时间:
2015-06-21 18:34:26
阅读次数:
110
Description:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a...
分类:
其他好文 时间:
2015-06-21 17:14:49
阅读次数:
93