摘要: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2018-03-14 20:55 王清河 阅读(124) 评论(0) 推荐(0) 编辑
摘要: The following is from Max Howell @twitter: Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree on a 阅读全文
posted @ 2018-03-14 16:31 王清河 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For exam 阅读全文
posted @ 2018-03-14 14:42 王清河 阅读(205) 评论(0) 推荐(0) 编辑
摘要: An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the 阅读全文
posted @ 2018-03-14 13:23 王清河 阅读(216) 评论(0) 推荐(0) 编辑
摘要: About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor 阅读全文
posted @ 2018-03-14 10:30 王清河 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ou 阅读全文
posted @ 2018-03-14 09:44 王清河 阅读(152) 评论(0) 推荐(0) 编辑
摘要: One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions 阅读全文
posted @ 2018-03-14 09:09 王清河 阅读(169) 评论(0) 推荐(0) 编辑