Design a Dating System
Design a simple dating system like Tinder with the following features: Register a user with their gender, age, preferences, and interests. Find matching users according to their preferred gender, preferred age range, and common interests. Implement the Tinder class: Tinder() Initializes the object. void signup(int userId, int gender, int preferredGender, int age, int minPreferredAge, int maxPreferredAge, List<String> interests) Registers a user with the given attributes. List<Integer> getMatches(int userId) Returns the...