- 博客(4)
- 收藏
- 关注
原创 355. Design Twitter
Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is able to see the 10 most recent tweets in the user's news feed. Your design should support the fo
2018-01-22 16:59:28 217
原创 399. Evaluate Division
Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given some queries, return the answers. If the answ
2018-01-22 15:47:08 133
原创 394. Decode String
Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k is gu
2018-01-21 11:04:42 202
原创 396. Rotate Function
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a "rotation function" F on A as follow: F(k) =
2018-01-21 09:08:40 133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人