码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
Leetcode 17. Letter Combinations of a Phone Number(水)
17. Letter Combinations of a Phone Number Medium Medium Given a string containing digits from 2-9 inclusive, return all possible letter combinations t ...
分类:其他好文   时间:2019-09-14 11:24:10    阅读次数:108
题解 P1516 【青蛙的约会】
"题目链接" Solution 青蛙的约会 题目大意:求解不定方程$ax+by=c$ 分析:我们可以把原来的同余式子写成一个不定方程,~~这部分基本操作不讲~~,主要讲方程求解。看到不定方程我们就想到$exgcd$对吧? 但是$exgcd$只能适用于求解$ax+by=g$,其中$g=gcd(a,b) ...
分类:其他好文   时间:2019-09-12 21:35:43    阅读次数:102
[虚拟机OA]Break a Palindrome 破坏回文串
In this challenge, you will be given a palindrome which you must modify if possible. Change exactly one character of the string to another character i ...
分类:其他好文   时间:2019-09-12 09:33:11    阅读次数:171
LCS 求最长公共子序列
最长公共子序列不需要字符连续出现和字串不同 //LCS 求最长公共子串模板题 Common Subsequence 描述 A subsequence of a given sequence is the given sequence with some elements (possible none ...
分类:其他好文   时间:2019-09-10 23:42:15    阅读次数:88
【LeetCode】93. Restore IP Addresses 【面试题】
Restore IP Addresses Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given  ...
分类:其他好文   时间:2019-09-03 11:55:40    阅读次数:75
BAPC 2018 Preliminaries-Isomorphic Inversion(字符串哈希)
Isomorphic Inversion 题目描述 Let s be a given string of up to 106 digits. Find the maximal k for which it is possible to partition s into k consecutive c ...
分类:其他好文   时间:2019-09-03 11:42:44    阅读次数:93
Leetcode之广度优先搜索(BFS)专题-1162. 地图分析(As Far from Land as Possible)
Leetcode之广度优先搜索(BFS)专题-1162. 地图分析(As Far from Land as Possible) BFS入门详解:Leetcode之广度优先搜索(BFS)专题-429. N叉树的层序遍历(N-ary Tree Level Order Traversal) 你现在手里有一 ...
分类:其他好文   时间:2019-09-03 09:22:27    阅读次数:100
Permutations II 解答
Question Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example,[1,1,2] have the following ...
分类:其他好文   时间:2019-08-31 01:02:32    阅读次数:53
Course Schedule II解答
Question There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you ...
分类:其他好文   时间:2019-08-30 14:00:37    阅读次数:84
leetcode 216. Combination Sum III
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:其他好文   时间:2019-08-29 15:27:24    阅读次数:81
2665条   上一页 1 ... 18 19 20 21 22 ... 267 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!