码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
Project Euler 98:Anagramic squares 重排平方数
Anagramic squaresBy replacing each of the letters in the word CARE with 1, 2, 9, and 6 respectively, we form a square number: 1296 = 362. What is rema...
分类:其他好文   时间:2015-12-07 22:42:29    阅读次数:343
[string]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...
分类:其他好文   时间:2015-12-07 20:30:10    阅读次数:183
269. Alien Dictionary
题目:There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of words from ...
分类:其他好文   时间:2015-12-07 15:55:04    阅读次数:184
[string]Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2015-12-07 00:26:22    阅读次数:152
leetcode@ [91] Decode Ways (Dynamic Programming)
https://leetcode.com/problems/decode-ways/A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...
分类:其他好文   时间:2015-12-03 23:18:46    阅读次数:270
加密算法大全图解 :密码体系,对称加密加密算法,非对称加密算法,数字签名,
1.加密算法大全:RSA:RSA is made of the initial letters of the surnames of Ron Rivest, Adi Shamir, and Leonard Adleman, who first publicly described the algor...
分类:编程语言   时间:2015-12-03 00:50:08    阅读次数:331
idcheck 标识符合法性检查
#!/usr/bin/env python#--*-- coding:utf-8 --*--"""标识符合法性检查,首先要以字母或者下划线开始,后面要跟字母,下划线或者数字这个例子只检查长度大于等于2的标志符"""import stringalphas = string.letters + '_'n...
分类:其他好文   时间:2015-12-02 14:26:44    阅读次数:217
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...
分类:其他好文   时间:2015-12-01 23:11:18    阅读次数:320
[Leetcode] Letter Combinations of a Phone Number
问题:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep...
分类:其他好文   时间:2015-11-27 14:57:24    阅读次数:158
LintCode: Compare Strings
C++ 1 class Solution { 2 public: 3 /** 4 * @param A: A string includes Upper Case letters 5 * @param B: A string includes Upper Case let...
分类:其他好文   时间:2015-11-27 06:38:11    阅读次数:127
1345条   上一页 1 ... 85 86 87 88 89 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!