Optimize invites under capacity constraints | Capital One Interview Question