摘要:
[抄题]: A rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) are the coordinates of its bottom-left corner, and (x2, y2) are the coordi 阅读全文
posted @ 2018-08-10 21:56
苗妙苗
阅读(209)
评论(0)
推荐(0)
摘要:
[抄题]: Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, 阅读全文
posted @ 2018-08-10 10:34
苗妙苗
阅读(213)
评论(0)
推荐(0)
摘要:
[抄题]: Implement an iterator to flatten a 2d vector. Example: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空间分析: [奇葩输出条件]: [奇葩corner case]: j必须非空且有下才行j != null && 阅读全文
posted @ 2018-08-10 08:52
苗妙苗
阅读(201)
评论(0)
推荐(0)