摘要:
Longest Palindromic Substring 最长回文子串 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 100 阅读全文
摘要:
Palindrome Partitioning I Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome par 阅读全文
摘要:
Loss function = Loss term(误差项) + Regularization term(正则项),上次写的是误差项,这次正则项。 正则项的解释没那么直观,需要知道不适定问题,在经典的数学物理中,人们只研究适定问题。适定问题是指满足下列三个要求的问题:①解是存在的(存在性);②解是惟 阅读全文
摘要:
Palindrome Number 回文数字 Determine whether an integer is a palindrome. Do this without extra space. 前期处理,首先负数/10的倍数,直接return false; 然后【1】直观做法是,知道N位数,根据v 阅读全文
摘要:
【Combination Sum I】 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums t 阅读全文