QueryString = { data: {}, Initial: function() { var aPairs, aTmp; var queryString = new String(window.location.search); queryString = queryString.subs ...
分类:
Web程序 时间:
2019-01-23 19:05:07
阅读次数:
404
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-01-22 10:50:44
阅读次数:
161
MZOJ 1264 Longest 树形DP的方法 ...
分类:
其他好文 时间:
2019-01-21 19:27:01
阅读次数:
199
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-01-21 00:31:01
阅读次数:
136
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 1 class Solu ...
分类:
其他好文 时间:
2019-01-20 15:07:08
阅读次数:
164
Description In an edge weighted tree, the xor length of a path p is defined as the xor sum of the weights of edges on p : ? ⊕ is the xor operator. We ...
分类:
其他好文 时间:
2019-01-19 23:24:08
阅读次数:
303
给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 ...
分类:
其他好文 时间:
2019-01-18 21:20:51
阅读次数:
204
问题描述 对于一串数A={a1a2a3…an},它的子序列为S={s1s2s3…sn},满足{s1<s2<s3<…<sm}。求A的最长子序列的长度。 动态规划法 算法描述: 设数串的长度为n,L[i]为以第i个数为末尾的最长上升子序列的长度,a[i]为数串的第i个数。 L[i]的计算方法为:从前i- ...
分类:
其他好文 时间:
2019-01-16 22:43:42
阅读次数:
259
public class Solution { / @param nums: An integer array @return: The length of LIS (longest increasing subsequence) / public int longestIncreasingSubs ...
分类:
其他好文 时间:
2019-01-16 13:18:18
阅读次数:
185
作为计算机导论的一部分,Raptor的图形化界面可以让编程的初学者更加容易深入理解算法,可以作为一个简单入门的学习工具。 1.Raptor是什么? Raptor( the Rapid Algorithmic Prototyping Tool for Ordered Reasoning — 用于有序推 ...
分类:
其他好文 时间:
2019-01-14 14:34:51
阅读次数:
265