1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Cloud [144]
2 years ago
6

A project manager wants to look at employee attendance data. Given that rn employees are working on the project , and the manage

r has the record of the employees present on n days of the project , find the maximum number of consecutive
History
1 answer:
givi [52]2 years ago
7 0

The maximum number of consecutive days in which all the employees are present is only 2 days.

To solve this question, we need to understand the concept of zero indexing.

<h3>What is Zero Indexing?</h3>

The zero-based index is a method of addressing arrays in which the first element of a series is allocated the index 0, instead of the index 1, as is common in non-programming situations.

From the given information, Let assume that:

  • There are r = 3 employees and,
  • n = 5 workdays to analyze.

  • The attendance data strings, data = [YYY, YYY, YNN, YYN, YYN].

We will realize that:

  • There are only two days at the start of the period in which all the workers are present.

By applying zero indexing for employees:

  • Employees 1, as well as 2, are not present (i.e absent) on the third day, and
  • Employee 2 is also absent on the fourth and fifth days.

Thus, the maximum number of consecutive days is 2 days and it takes place only at the beginning.

Learn more about zero indexing here:

brainly.com/question/25012091

You might be interested in
What were the laws of St Laurent
Likurg_2 [28]
Then, in 1873 the Métis of St. Laurent updated and formalized the laws of the prairie into a written document, known as the Laws of St. Laurent. These laws covered all aspects of Métis life in the district, not just the conduct of people engaged in the hunt.
5 0
3 years ago
Why did some people oppose the expansion of the United States?<br> Plz I need it right now.
KatRina [158]
They felt that we were oppressing the indigenious peoples of conquered lands (which we were).
4 0
3 years ago
What led to the Emancipation Proclamation?
Studentka2010 [4]
1, 1863, three years into the war. ... Now the war was about ending slavery, which led to the tide changing in favor of the Union under the leadership of Ulysses S. Grant. The Emancipation Proclamation didn't free all slaves, just those living in Confederate states. Hope that helped!!
4 0
3 years ago
what contributions did Africans bring to the British colonies? a) new ideas about religion, b) new food and farming techniques,
RideAnS [48]

Answer:

I'm pretty sure its c if not I'm sorry

8 0
3 years ago
Read 2 more answers
What is the correct order starting from the surface of the earths layers
tangare [24]
The correct order is the crust, mantle, outer core, then inner core.
7 0
3 years ago
Other questions:
  • PLEASE FOR THE LOVE OF GOD HELP ME!!!
    14·2 answers
  • Jefferson's Republican opponent in the 1800 election was:
    5·2 answers
  • Which of the following best describes the government model Japan adopted from its neighbor, China? The nation allowed all member
    14·2 answers
  • Found in 1874, __________ area was found during an autopsy, which revealed a lesion on the left __________ lobe of a patient who
    9·1 answer
  • The area of the state of Ohio is about 40,000 square miles at its peak how did that Aztec empire compare give an area estimate
    11·1 answer
  • Which of the following statements about the Union Army in the Civil War is FALSE?
    8·2 answers
  • The pax Mongolica produced which of the following effects
    10·1 answer
  • 5
    7·1 answer
  • Please help i will give brainliest
    14·1 answer
  • In a dicataorship how is rule of law regarded
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!