@Test public void notMatchTest() { Map<String, Set<String>> input = new HashMap<>(); input.put("Alice", new HashSet<>(Arrays.asList("Adobe", "Amazon", "Facebook", "Google"))); input.put("Bob", new HashSet<>(Arrays.asList("Amazon", "Yahoo"))); input.put("Carol", new HashSet<>(Arrays.asList("Adobe", "Facebook", "Google"))); input.put("Dave", new HashSet<>(Arrays.asList("Amazon", "Yahoo"))); input.put("Eliza", new HashSet<>(Arrays.asList("Amazon", "Yahoo"))); Map<String, String> test = BipartiteMatching.solve(input); Assert.assertTrue(test.isEmpty()); }
public static Map<String, String> solve(Map<String, Set<String>> student2offer) { return null; }
BipartiteMatching { public static Map<String, String> solve(Map<String, Set<String>> student2offer) { return null; } }
BipartiteMatching { public static Map<String, String> solve(Map<String, Set<String>> student2offer) { return null; }  }
BipartiteMatching { public static Map<String, String> solve(Map<String, Set<String>> student2offer) { return null; }  static Map<String, String> solve(Map<String, Set<String>> student2offer); }
BipartiteMatching { public static Map<String, String> solve(Map<String, Set<String>> student2offer) { return null; }  static Map<String, String> solve(Map<String, Set<String>> student2offer);  }