摘要:
Problem Definition: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto s... 阅读全文
posted @ 2015-07-20 20:46
曾可爱
阅读(151)
评论(0)
推荐(0)
摘要:
Problem Definition:Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked ... 阅读全文
posted @ 2015-07-20 16:03
曾可爱
阅读(186)
评论(0)
推荐(0)
摘要:
Problem Definition: Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 f2 else (-1 if f1b a=[1] b=[0,2... 阅读全文
posted @ 2015-07-20 14:49
曾可爱
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号