摘要:
题目: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 is1 -> 2 -> 3 ... 阅读全文
posted @ 2015-08-17 17:11
__Neo
阅读(130)
评论(0)
推荐(0)
摘要:
题目:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complex... 阅读全文
posted @ 2015-08-17 14:22
__Neo
阅读(109)
评论(0)
推荐(0)
摘要:
题目:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest... 阅读全文
posted @ 2015-08-17 13:40
__Neo
阅读(127)
评论(0)
推荐(0)
摘要:
题目:Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3... 阅读全文
posted @ 2015-08-17 11:37
__Neo
阅读(255)
评论(0)
推荐(0)


浙公网安备 33010602011771号