摘要: A unival tree (which stands for "universal value") is a tree where all nodes under it have the same value. Given the root to a binary tree, count the 阅读全文
posted @ 2019-03-13 20:54 Zhentiw 阅读(456) 评论(0) 推荐(0)
摘要: For a menu item, when we tab onto it, we want this element get 'focus' event, so that the submenu will show up. In the post, we will see how to achiev 阅读全文
posted @ 2019-03-13 16:29 Zhentiw 阅读(213) 评论(0) 推荐(0)
摘要: Implement a job scheduler which takes in a function f and an integer n, and calls f after nmilliseconds 阅读全文
posted @ 2019-03-13 06:05 Zhentiw 阅读(247) 评论(0) 推荐(0)