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
Why did the japanese invade manchuria? who did they compare their imperialism to?
stich3 [128]
Japan invaded Manchuria probably because they wanted the place. Also, Chian killed one of the Japanese spies and as a result caused Japan to fight but China did not do anything because they knew they were probably being tricked. 
8 0
4 years ago
This name/title given to the sentence, written in 1892 that is an expression of loyalty to the United States
Roman55 [17]

I believe it's the Pledge of Allegiance.

7 0
4 years ago
Read 2 more answers
Who created school?<br><br> Please help me out rn
Greeley [361]

Answer: Horace Mann

Explanation:

4 0
2 years ago
Read 2 more answers
Choose the countries which share a border with Germany.
horrorfan [7]
Denmark
Belgium
France
Austria
Switzerland
the Czech Republic
Poland

8 0
3 years ago
Points for you!!!!!!!!!!!!!!!<br> have an awesome day everyone
lianna [129]

Answer:

Thank you! Hope you have a great day, as well :)

7 0
3 years ago
Read 2 more answers
Other questions:
  • The ADA (1990) was designed to prohibit discrimination based on A) age. B) race C) national origin. D) physical or mental abilit
    14·1 answer
  • Deeply concerned with god and the practice of church belief
    10·2 answers
  • Why did the roman republic have two laws
    5·1 answer
  • Which was a theme often explored in American literature and art during this period?
    9·2 answers
  • Is this statement true or false? Businesses grow where there is little transportation and few natural resources. A. True B. Fals
    7·2 answers
  • The term "Olmec" referred to:
    11·1 answer
  • According to his statement above, which of the following is not true of what Leo Szilard believed about the use of the atomic bo
    11·2 answers
  • Did miranda incorrectly portray hamilton and how?
    13·1 answer
  • The main difference between White Dominion and a Tropical Dependency?
    15·1 answer
  • WHY DID THE MUSLIM WAY OF PRAYING LEAD TO ADVANCES IN ASTRONOMY?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!