码迷,mamicode.com
首页 >  
搜索关键字:maximum subsequence    ( 5146个结果)
104. Maximum Depth of Binary Tree
Problem: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the f ...
分类:其他好文   时间:2016-05-23 21:03:25    阅读次数:113
Machine Learning Basic Knowledge
常用的数据挖掘&机器学习知识(点) Basis(基础): MSE(MeanSquare Error 均方误差),LMS(Least MeanSquare 最小均方),LSM(Least Square Methods 最小二乘法),MLE(Maximum LikelihoodEstimation最大似 ...
分类:系统相关   时间:2016-05-22 13:54:55    阅读次数:395
LeetCode Maximum Product Subarray
在一个数组中找出一个子数组,使得子数组中的数的乘积最大。...
分类:其他好文   时间:2016-05-22 12:27:16    阅读次数:108
【Leetcode】Longest Increasing Subsequence
题目链接:https://leetcode.com/problems/longest-increasing-subsequence/ 题目: Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5...
分类:其他好文   时间:2016-05-22 12:23:17    阅读次数:213
124. Binary Tree Maximum Path Sum
...
分类:其他好文   时间:2016-05-22 06:12:02    阅读次数:108
LeetCode OJ 122. Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2016-05-21 11:29:59    阅读次数:126
343. Integer Break
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro ...
分类:其他好文   时间:2016-05-21 01:22:48    阅读次数:149
Longest Increasing Subsequence
Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:其他好文   时间:2016-05-19 19:14:08    阅读次数:168
Leetcode刷题记录[python]——104 Maximum Depth of Binary Tree
一、前言 对于这类抽象问题还有self用法,还要多做多练习,此题是参考其他答案所做。 二、题104 Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the n ...
分类:编程语言   时间:2016-05-19 19:03:31    阅读次数:162
Common Subsequence
简单动规 两个字符串最大公共子序列 。 #include<cstdio> #include<iostream> #include<cstring> #include<string> using namespace std; int f[1010][1010]; string str1,str2; i ...
分类:其他好文   时间:2016-05-18 21:59:21    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!