码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
MySQL主从同步配置(Ubuntu)
一、在两台Linux机器上安装MySQL 二、Master主服务器配置(192.168.1.3) 1.编辑my.cnf编(命令查找文件位置:find / -name my.cnf) vi /etc/mysql/my.cnf 在[mysqld]中添加: server-id = 1 log_bin = ...
分类:数据库   时间:2016-09-25 06:09:42    阅读次数:179
[LeetCode #3] Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:其他好文   时间:2016-09-24 23:20:25    阅读次数:137
linux文件管理和 对bash的理解
一linux的文件管理命令及常用相关实例演示1常见文件命令:cat,more,less,head,tail,nl,find,grep,touch,mv,cp,rm,chmod,chown,chgrp,①cat用法:cat目标文件◆列出文件内容的行号-b非空号列出行号-n连同空行一起列出行号②head/tail◆指定行数查看文件③find在指..
分类:系统相关   时间:2016-09-24 22:01:07    阅读次数:223
LeetCode:Find the Difference_389
LeetCode:Find the Difference 【问题再现】 Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling strin ...
分类:其他好文   时间:2016-09-24 21:47:09    阅读次数:97
POJ3233 Matrix Power Series
Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Given a n × n matrix A and a positive integer k, f ...
分类:其他好文   时间:2016-09-24 17:29:47    阅读次数:156
Interleaving String
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 = "aadbbcbcac", ret ...
分类:其他好文   时间:2016-09-24 12:16:06    阅读次数:179
318. Maximum Product of Word Lengths
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum ...
分类:其他好文   时间:2016-09-24 11:55:51    阅读次数:116
128. Longest Consecutive Sequence(leetcode)
Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,Given [100, 4, 200, 1, 3, 2],The longes ...
分类:其他好文   时间:2016-09-24 11:54:09    阅读次数:132
113. Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example:Given the below binary tree and sum ...
分类:其他好文   时间:2016-09-24 07:07:27    阅读次数:169
安装mysql-python需要碰到错误:Unable to find vcvarsall.bat 的解决方法
1.发现从https://pypi.python.org/pypi/MySQL-python/1.2.5#downloads 下载下来的python版本是2.7 而我用的python版本是3.5.2,所以报错了。因此得安装上pymysql 2.安装如下:切换到pip.exe所在的文件夹目录 ...
分类:数据库   时间:2016-09-24 07:00:44    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!