摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文