对于一个数字序列,返回该序列的最长上升子序列的长度,这里的子序列定义为这样一个序列U1,U2...,其中Ui < Ui+1,且A[Ui] < A[Ui+1]。 给定一个数字序列A及序列的长度n,请返回最长上升子序列的长度。 测试样例: Read More
posted @ 2017-01-17 16:49 虫儿ls Views(215) Comments(0) Diggs(0) Edit
windows->Preferences->General->Content Types->Text->Java Source File 在底下的Default encoding 改为 GBK 即可 Read More
posted @ 2017-01-17 09:34 虫儿ls Views(1023) Comments(0) Diggs(0) Edit