Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
有没有空间复杂度为O(1)的算法啊看了看前面的,动态规划的基本上都需要开辟一个长度为 n 的辅助数组。再看前面直接 one-pass 的算法,似乎又有反例说是不对的。那些 one-pass 的算法到底对不对啊? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator