码迷,mamicode.com
首页 >  
搜索关键字:letter combinations    ( 2407个结果
cf166e 在四面体上寻找路线数 递推,取模
来源:codeforces E. Tetrahedron 来源:codeforces E. Tetrahedron You are given a tetrahedron. Let's mark its vertices with letters A, B, C and D correspondin ...
分类:其他好文   时间:2018-03-10 18:49:09    阅读次数:205
784. Letter Case Permutation
Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri ...
分类:其他好文   时间:2018-03-09 21:22:33    阅读次数:235
git 服务器
一 安装低版本git 1/ git --version 检查git版本 是否有安装 2/ yum remove git 有的话 可以删除 3/ yum install -y git 安装1.7.1 4/ 下载 Git for Windows,地址:https://git-for-windows.gi ...
分类:其他好文   时间:2018-03-09 15:33:42    阅读次数:216
二十三、hash表之hash化的两种方式
接上一节,在把关键字改成string类型之后,需要对key进行hash化,这里使用了两种方式: 1.相加法 2.幂乘法 同时防止越界,我们使用了压缩值的方法即取余数。但是由于int的长度限制,我们使用了biginterger方法。 info类和上节相同,这里只丢出hashTable的源代码: pub ...
分类:其他好文   时间:2018-03-08 14:10:05    阅读次数:169
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num ...
分类:其他好文   时间:2018-03-04 23:57:46    阅读次数:304
Combination Sum
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums ...
分类:其他好文   时间:2018-03-04 18:09:53    阅读次数:134
[LeetCode] 22. Generate Parentheses 生成括号
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: " ...
分类:其他好文   时间:2018-03-03 18:09:57    阅读次数:112
POJ2513 Colored Sticks(Trie+欧拉回路)
Description You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a st ...
分类:其他好文   时间:2018-03-03 14:06:56    阅读次数:167
[LeetCode] 17. 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 telepho ...
分类:其他好文   时间:2018-03-03 10:54:39    阅读次数:220
[LeetCode] 91. Decode Ways 解码方法
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t ...
分类:其他好文   时间:2018-02-28 16:26:42    阅读次数:136
2407条   上一页 1 ... 70 71 72 73 74 ... 241 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!