码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
LeetCode 395. Longest Substring with At Least K Repeating Characters C#
Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than  ...
分类:Windows程序   时间:2017-01-14 07:28:08    阅读次数:276
Hihocoder1061-Beautiful String
时间限制:10000ms单点时限:1000ms内存限制:256MB 描述 We say a string is beautiful if it has the equal amount of 3 or more continuous letters (in increasing order.)Her ...
分类:其他好文   时间:2017-01-12 19:56:49    阅读次数:227
383.判断一个字符串是否能够包含另外一个字符串 Ransom Note
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans... ...
分类:其他好文   时间:2017-01-10 23:51:04    阅读次数:404
MD5方法代码(生成小写的md5) C#版本
public string GetMD5Str(string input) { // Use input string to calculate MD5 hash MD5 md5 = System.Security.Cryptography.MD5.Create(); byte[] inputByt ...
分类:Windows程序   时间:2017-01-09 23:18:23    阅读次数:306
LeetCode Longest Palindrome
原题链接在这里:https://leetcode.com/problems/longest-palindrome/ 题目: Given a string which consists of lowercase or uppercase letters, find the length of the ...
分类:其他好文   时间:2017-01-08 09:09:43    阅读次数:169
Word Search
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac ...
分类:其他好文   时间:2017-01-04 23:08:39    阅读次数:187
LeetCode 290 Word Pattern
Problem: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection betwee ...
分类:其他好文   时间:2017-01-03 09:43:38    阅读次数:194
R之字符串连接函数paste
函数paste的一般使用格式为: paste(..., sep = " ", collapse = NULL) 其中...表示一个或多个R可以被转化为字符型的对象;参数sep表示分隔符,默认为空格;参数collapse可选,如果不指定值,那么函数paste的返回值是自变量之间通过sep指定的分隔符连 ...
分类:其他好文   时间:2016-12-28 18:18:54    阅读次数:247
python生成20个随机的DNA fasta格式文件
生成20个随机的文件,由于没有用到hash名字,文件名有可能会重复每个文件中有30-50条序列每条序列的长度为70-120个碱基importos importrandom importstring print(dir(string)) letter=string.ascii_letters os.chdir("D:\\") bases={1:"A",2:"T",3:"C",4:"G"} ##Testran..
分类:编程语言   时间:2016-12-25 18:58:41    阅读次数:207
php基础24:数组range
<?php $numbers = range(1, 10); echo "<pre>"; var_dump($numbers); echo "</pre>"; echo "<hr>"; $letters = range('a', 'z'); echo "<pre>"; var_dump($lette ...
分类:编程语言   时间:2016-12-24 20:12:12    阅读次数:120
1345条   上一页 1 ... 63 64 65 66 67 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!