摘要: 题目描述 Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime c 阅读全文
posted @ 2017-08-26 21:40 言叶之之庭 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are+,-,*,/. Each operand may be an integer or another 阅读全文
posted @ 2017-08-26 21:23 言叶之之庭 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the neare 阅读全文
posted @ 2017-08-26 20:53 言叶之之庭 阅读(159) 评论(0) 推荐(0) 编辑