Computer Science, asked by mageshwarim576, 6 months ago

input1: 5
input2: {{5, 4}, {3, 2}, {4, 2}, {2, 1}}
output: 1-2-4-5
Explanation
If we visualize the above data in the form of a graph:
3
2
-
5
monch which contains the last job id (.e job id 5) is highlighted here​

Answers

Answered by khushinathwani06
0

Answer:

give some figure if question .

Similar questions