码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
844. Backspace String Compare
Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Can you solve it in O( ...
分类:其他好文   时间:2018-06-09 14:35:55    阅读次数:119
*389. Find the Difference (string + map(26)) read problems carefully
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:其他好文   时间:2018-06-09 00:09:17    阅读次数:170
Codeforces Round #486 (Div. 3) B. Substrings Sort
Codeforces Round 486 (Div. 3) B. Substrings Sort 题目连接: "http://codeforces.com/contest/988/problem/B" Description You are given n strings. Each string ...
分类:其他好文   时间:2018-06-08 10:36:08    阅读次数:201
格式化字符串
在Python中格式化字符串的方法:%占位操作符、format函数、F-strings 1、%占位操作符格式化字符串时,Python使用一个字符串作为模板。模板中有格式符,这些格式符为真实值预留位置,并说明真实数值应该呈现的格式。 Python用一个元组将多个值传递给模板,每个值对应一个格式符。 在 ...
分类:其他好文   时间:2018-06-06 22:15:06    阅读次数:133
2.5.8
question: Write a program Frequency that reads strings from standard input and prints the number of times each string occurs, in descending order of f ...
分类:其他好文   时间:2018-06-06 21:37:45    阅读次数:170
1061 Dating (20)
1061 Dating (20)(20 分) Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". ...
分类:其他好文   时间:2018-06-05 00:36:18    阅读次数:161
redis之strings类型及操作
set设置key对应的值为string类型的value.如:setnameHongWansetnx设置key对应的值为string类型的value。如果key已经存在,返回0,nx是notexist的意思。如:setnxnameHongWan返回0(设置不成功,因为已存在)setex设置key对应的值为string类型的value,并指定此键值对应的有效期.如:setname10HongWanse
分类:其他好文   时间:2018-06-03 22:19:23    阅读次数:128
A - Antipalindrome
Problem description A string is a palindrome if it reads the same from the left to the right and from the right to the left. For example, the strings ...
分类:其他好文   时间:2018-06-03 14:31:13    阅读次数:157
*521. Longest Uncommon Subsequence I (bit manipulation 2^n)
Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defi ...
分类:其他好文   时间:2018-06-03 14:20:25    阅读次数:146
158. Valid Anagram【LintCode by java】
Description Write a method anagram(s,t) to decide if two strings are anagrams or not. Description Description Write a method anagram(s,t) to decide if ...
分类:编程语言   时间:2018-06-02 12:20:13    阅读次数:160
共3304条   上一页 1 ... 70 71 72 73 74 ... 331 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!