PockyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2095 Accepted Submission(s): 1133 Problem De ...
分类:
其他好文 时间:
2018-10-07 18:49:34
阅读次数:
148
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7 ...
分类:
其他好文 时间:
2018-10-06 23:08:57
阅读次数:
205
Design a HashSet without using any built-in hash table libraries. To be specific, your design should include these functions: add(value): Insert a val ...
分类:
其他好文 时间:
2018-10-06 15:34:13
阅读次数:
154
Given a linked list, swap every two adjacent nodes and return its head. Example: Note: Your algorithm should use only constant extra space. You may no ...
分类:
其他好文 时间:
2018-10-05 22:34:58
阅读次数:
193
http://poj.org/problem?id=2421 There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can ...
分类:
其他好文 时间:
2018-10-05 18:45:15
阅读次数:
133
How Many to Be Happy? 题目描述 Let G be a connected simple undirected graph where each edge has an associated weight. Let’s consider the popular MST (Mini ...
分类:
移动开发 时间:
2018-10-04 20:29:55
阅读次数:
208
Ladies and gentlemen, please sit up straight. Don't tilt your head. I'm serious. For n given strings S1,S2,?,Sn, labelled from 1 to n, you should find ...
分类:
其他好文 时间:
2018-10-04 19:54:14
阅读次数:
122
题目链接 Problem Description Given a positive integer N, you should output the most right digit of N^N. Input The input contains several test cases. The f ...
分类:
Web程序 时间:
2018-10-04 13:22:04
阅读次数:
169
Given a robot cleaner in a room modeled as a grid.Each cell in the grid can be empty or blocked.The robot cleaner with 4 given APIs can move forward, ...
分类:
其他好文 时间:
2018-10-04 11:44:35
阅读次数:
173
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o ...
分类:
其他好文 时间:
2018-10-04 10:55:20
阅读次数:
151