Example Implementations of the Party Problem
The Party Problem
For a given list of party guests and a given number of friends that each guest should have under the other guests, this algorithm removes the guests from the list that have fewer than k friends.
The algorithm has been implemented in the following languages:
- TypeScript (CLI via Node.js)