12 2014 档案
摘要:Problem StatementYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes ...
阅读全文
摘要:It's a very elegant summary of regular expression from The AWK Programming Language.1. The regular expression metacharacters are:\ ^ $ . [ ] | ( ) * +...
阅读全文
摘要:It's obvious an DP problem.Let's define:dp[i]:= the maximum sum of subarray in the first i elements.From the base point, the optimal subarray ma...
阅读全文