摘要:
[抄题]: Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For ex 阅读全文
posted @ 2018-08-23 22:40
苗妙苗
阅读(192)
评论(0)
推荐(0)
摘要:
[抄题]: 简而言之:只能对 杯子中全部的水/容量-杯子中全部的水进行操作 You are given two jugs with capacities x and y litres. There is an infinite amount of water supply available. Yo 阅读全文
posted @ 2018-08-23 10:40
苗妙苗
阅读(281)
评论(0)
推荐(0)
摘要:
[抄题]: There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of t 阅读全文
posted @ 2018-08-23 09:04
苗妙苗
阅读(162)
评论(0)
推荐(0)
摘要:
[抄题]: Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step: Given a number n. You ha 阅读全文
posted @ 2018-08-23 05:42
苗妙苗
阅读(136)
评论(0)
推荐(0)
摘要:
[抄题]: Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the 阅读全文
posted @ 2018-08-23 04:39
苗妙苗
阅读(254)
评论(0)
推荐(0)