Skip to content

Commit bf020ac

Browse files
committed
Markdown Documentation Comments
1 parent c5f1d79 commit bf020ac

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

src/test/java/com/github/streams/interview/problems/employee/D_NumberOfEmployeeInEachDept.java

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,23 @@
77
import org.junit.jupiter.api.Disabled;
88
import org.junit.jupiter.api.Test;
99

10-
/**
11-
* Calculation of the number of employees in each department. <br>
12-
*
13-
* <pre>
14-
* Input:
15-
* Employee("John", "Sales", 50000)
16-
* Employee("Jane", "Marketing", 60000)
17-
* Employee("Bob", "Sales", 70000)
18-
*
19-
* Output:
20-
* "Sales": 2,
21-
* "Marketing": 1
22-
*
23-
* </pre>
24-
*
25-
* Explanation: This method takes a list of employees as input, groups them by their department
26-
* names, and returns a map where the keys are the department names and the values are the number of
27-
* employees in each department.
28-
*/
10+
/// Calculation of the number of employees in each department.
11+
///
12+
/// ### Input:
13+
///
14+
/// - Employee("John", "Sales", 50000)
15+
/// - Employee("Jane", "Marketing", 60000)
16+
/// - Employee("Bob", "Sales", 70000)
17+
///
18+
/// ### Output:
19+
/// - "Sales": 2,
20+
/// - "Marketing": 1
21+
///
22+
/// #### Explanation:
23+
/// This method takes a list of employees as input, groups them by their department
24+
/// names, and returns a map where the keys are the department names and the values are the number
25+
/// of employees in each department.
26+
2927
class D_NumberOfEmployeeInEachDept {
3028
@Test
3129
@Disabled

0 commit comments

Comments
 (0)