Skip to content

Commit 84fa6b2

Browse files
committed
Markdown Documentation Comments
1 parent b1a365f commit 84fa6b2

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
/// Calculation of the number of employees in each department.
1111
///
1212
/// ### Input:
13-
///
14-
/// - Employee("John", "Sales", 50000)
15-
/// - Employee("Jane", "Marketing", 60000)
16-
/// - Employee("Bob", "Sales", 70000)
17-
///
13+
/// ```json
14+
/// Employee("John", "Sales", 50000)
15+
/// Employee("Jane", "Marketing", 60000)
16+
/// Employee("Bob", "Sales", 70000)
17+
/// ```
1818
/// ### Output:
19-
/// - "Sales": 2,
20-
/// - "Marketing": 1
21-
///
19+
/// ```json
20+
/// "Sales": 2,
21+
/// "Marketing": 1
22+
/// ```
2223
/// #### Explanation:
2324
/// This method takes a list of employees as input, groups them by their department
2425
/// names, and returns a map where the keys are the department names and the values are the number

0 commit comments

Comments
 (0)