摘要: Problem:The API:int read4(char *buf)reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it... 阅读全文
posted @ 2015-09-15 23:54 airforce 阅读(600) 评论(0) 推荐(0) 编辑
摘要: Problem:Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, fl... 阅读全文
posted @ 2015-09-15 04:08 airforce 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: Problem:A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you ... 阅读全文
posted @ 2015-09-15 00:28 airforce 阅读(583) 评论(0) 推荐(0) 编辑