码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
剑指OFFER----面试题46. 把数字翻译成字符串
链接:https://leetcode cn.com/problems/ba shu zi fan yi cheng zi fu chuan lcof/submissions/ 代码 ...
分类:其他好文   时间:2020-03-06 14:57:57    阅读次数:74
LeetCode——152. 乘积最大子序列
给定一个整数数组 ,找出一个序列中乘积最大的连续子序列(该序列至少包含一个数)。 示例 1: 示例 2: https://leetcode cn.com/problems/maximum product subarray/ 动态规划 其实这道题最直接的方法就是用 DP 来做,而且要用两个 dp 数组 ...
分类:其他好文   时间:2020-03-06 13:34:45    阅读次数:59
322.零钱兑换(动态规划)
给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/coin-change著作权归领 ...
分类:其他好文   时间:2020-03-06 12:57:23    阅读次数:47
1367. 二叉树中的列表 dfs or bfs
题目:1367. 二叉树中的列表 链接:https://leetcode-cn.com/problems/linked-list-in-binary-tree/ 题意:略 思路:两种思路太久没有做算法题了。对这类题目不敏感,想当然以为是dp做法,其实就是dfs或者bfs。 dfs做法:从最开始进行思 ...
分类:其他好文   时间:2020-03-06 12:47:11    阅读次数:43
每日两题编程
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12419542.html 1.分糖果(力扣57min) 题目链接:https://leetcode-cn.com/problems/distribute-candies-to-people/submissio ...
分类:其他好文   时间:2020-03-05 13:37:16    阅读次数:69
Referenced file contains errors For more information, right click on the message in the Problems View and select "Show Details..."
Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.1.xsd). For more information, right click on the messa ...
分类:其他好文   时间:2020-03-05 13:32:20    阅读次数:110
中M2020春C入门练习第I段 (7-47 二进制的前导的零 )
题目地址https://pintia.cn/problem-sets/1222362023341477888/problems/1222362900697600012 本来我觉得挺简单的 但是怎么也不对 于是 计算机原理 (又一个知识盲区) 我觉得我基础知识没学好 就是这个 无符号整型才能表达32位 ...
分类:其他好文   时间:2020-03-05 01:33:34    阅读次数:332
LeetCode 0079. Word Search单词搜索【Python】
LeetCode 0079. Word Search单词搜索【Medium】【Python】【DFS】 Problem "LeetCode" Given a 2D board and a word, find if the word exists in the grid. The word can ...
分类:编程语言   时间:2020-03-04 23:00:46    阅读次数:68
PHP算法练习2:(175. 组合两个表)
练习地址:https://leetcode-cn.com/problems/combine-two-tables/ 表1: Person + + + | 列名 | 类型 | + + + | PersonId | int | | FirstName | varchar | | LastName | v ...
分类:编程语言   时间:2020-03-04 19:14:25    阅读次数:85
中M2020春C入门练习第I段 (7-42 整除光棍 )
题目原网址 https://pintia.cn/problem sets/1222362023341477888/problems/1222362900697600007 第一次做的时候我的想法(想的太简单了嘤嘤嘤) 就是让光棍那个数一直增大,然后来除那个输入的数字,当可以整除的时候 ,输出光棍数/ ...
分类:其他好文   时间:2020-03-04 19:13:03    阅读次数:86
6275条   上一页 1 ... 88 89 90 91 92 ... 628 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!