摘要:
[抄题]: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, ea 阅读全文
posted @ 2018-08-03 17:14
苗妙苗
阅读(242)
评论(0)
推荐(0)
摘要:
[抄题]: There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a 阅读全文
posted @ 2018-08-03 16:14
苗妙苗
阅读(167)
评论(0)
推荐(0)
摘要:
[抄题]: Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / opera 阅读全文
posted @ 2018-08-03 11:22
苗妙苗
阅读(180)
评论(0)
推荐(0)
摘要:
[抄题]: Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ 阅读全文
posted @ 2018-08-03 10:35
苗妙苗
阅读(328)
评论(0)
推荐(0)
摘要:
[抄题]: Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appe 阅读全文
posted @ 2018-08-03 08:37
苗妙苗
阅读(311)
评论(0)
推荐(0)