LEETCODE
UNLOCKED
Problems
Donate
Premium
Design Twitter
Solution Code
Time Complexity
O(
1
)
for post, follow, unfollow;
O(
N log K
)
for feed
Space Complexity
O(
U + T
)