Computer Science, asked by sthota003, 5 months ago

Selecting candidates
You are the manager of a company and you are required to assess various candidates There are N candidatos
lined up in a queue Each candidate is having power Pi (isis M You can handle two candidates de
However, if both candidates have power Pị and P; then you can take markPj, Pj) unt of time to assess both
candidates. If you are assessing only one candidate that has power Pli, then you can assess that candidate tak
time.
You can select candidates from the queue based on the following rules
• If there are more than two candidats et uue queue tien you can select any two candidates from the the
candidates standing in the queue and select theni simu Loneously
• If two candidates are lelta the qurudut you can select both the candidates standing in the queue and can select
them simultaneously
• If only one candidate is led die LG her you can select that candidate and select him or her

Answers

Answered by raginik2510
0

Answer:

selecting candidates for what reason????

Similar questions