摘要:
题目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菌
阅读(121)
推荐(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菌
阅读(116)
推荐(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菌
阅读(104)
推荐(0)