小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然

2015年12月5日

摘要: 题目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菌 阅读(183) 评论(0) 推荐(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菌 阅读(112) 评论(0) 推荐(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菌 阅读(105) 评论(0) 推荐(0) 编辑