Compute each member’s current notification status | LinkedIn Interview Question