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

2015年8月15日

摘要: 题目Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -... 阅读全文
posted @ 2015-08-15 21:32 Coding菌 阅读(110) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.If the... 阅读全文
posted @ 2015-08-15 21:08 Coding菌 阅读(112) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assum... 阅读全文
posted @ 2015-08-15 20:47 Coding菌 阅读(97) 评论(0) 推荐(0) 编辑