码迷,mamicode.com
首页 >  
搜索关键字:longest substring wi    ( 8067个结果
Silverlight DataGrid标题行居中
1.引用命名空间 xmlns:Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data" xmlns:data="clr-namespace:System.Wi...
分类:Web程序   时间:2014-10-15 12:53:40    阅读次数:178
Longest Substring Without Repeating Characters
[leetcode] Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with th...
分类:其他好文   时间:2014-10-15 11:42:20    阅读次数:224
[leetcode] Longest Common Prefix @ Python
Source:https://oj.leetcode.com/problems/longest-common-prefix/Write a function to find the longest common prefix string amongst an array of strings.Hi...
分类:编程语言   时间:2014-10-14 00:46:47    阅读次数:306
C#中如何获取当前路径的几种方法
String apppath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase; //获取整个文件路径名 apppath = apppath.Substring(0, apppath.LastIndexOf(@"\")); //去掉/后面的程序名 MessageBox.Show(apppath); ...
分类:Windows程序   时间:2014-10-13 22:04:07    阅读次数:279
WPF 检测管理员权限
// 检查是否是管理员身份 private void CheckAdministrator() { try { var wi = WindowsIdentity.GetCurr...
分类:Windows程序   时间:2014-10-13 20:43:57    阅读次数:172
leetcode dfs Palindrome Partitioning
Palindrome Partitioning  Total Accepted: 21056 Total Submissions: 81036My Submissions Given a string s, partition s such that every substring of the partition is a palindrome. Return all...
分类:其他好文   时间:2014-10-13 11:18:20    阅读次数:173
Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:其他好文   时间:2014-10-12 17:54:08    阅读次数:177
[Leetcode] Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-10-12 17:16:38    阅读次数:155
Apache+php+mysql在windows下的安装与配置图解 写的还不错也算经典新手看看 熟手绕过
对于php环境的配置图文教材先准备好软件:Apache官方下载地址:apache_2.0.55-win32-x86-no_ssl.msi,更多版本在这里;php官方下载地址:php-5.0.5-Win32.zip,更多镜像下载地址,更多版本下载;mysql官方下载地址:mysql-4.1.14-wi...
分类:数据库   时间:2014-10-12 10:49:37    阅读次数:364
js中substr与substring的差别
Js的substring和C#的Substring的作用都是从一个字符串中截取出一个子字符串,但它们的用法却有非常大的不同,下边我们来比較看看:Js的substring语法:程序代码String.substring(start, end)说明:返回一个从start開始到end(不包括end)的子字符...
分类:Web程序   时间:2014-10-11 23:33:37    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!