← 返回 atlassian 的题目列表Connect Event Grouping
类型:online_judge
Given a 2D array representing follow and unfollow operations between users, and an integer representing the follower count, implement a function to return two lists: the first containing users with follow count less than the given integer and the second with follow count greater than or equal to the given integer. The result doesn't need to be sorted.
Example
Input
[['Nicole', 'Alice', 'CONNECT'], ['Nicole', 'Alice', 'DISCONNECT'], ['Charlie', 'Alice', 'CONNECT'], ['Edward', 'Alice', 'CONNECT']]
3