[摘要] Given a dice with n sides, you have to find the expected number of times you have to throw that dice to see all its faces at least once. Assume that t[全文]
[摘要] Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.For exam[全文]