摘要:
题目Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 version2 则返回1 相等返回0 反之返回-1*/ int compar...
阅读全文
posted @ 2015-12-05 15:16
Coding菌
阅读(189)
推荐(0)
摘要:
题目A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and retur...
阅读全文
posted @ 2015-12-05 14:08
Coding菌
阅读(116)
推荐(0)
摘要:
题目Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example:1 -> A2 -> B3 -> C...26 -> Z27 -> A...
阅读全文
posted @ 2015-12-05 13:38
Coding菌
阅读(108)
推荐(0)