Determine current notification status | LinkedIn Interview Question