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
The most important belief in lslam are the?
irakobra [83]
Profession of faith
Prayer
Alms
Fasting
And Pilgrimage
6 0
3 years ago
Why can Hitler can be described as a fanatical despot
Arisa [49]
He can be explain as such due to his radical ideals and the ways he pursued them. He saw his views as right so he set out to accomplishing them anyway he possibly could using extremely harsh solutions like the gas chamber being a fanatical despot in creating in his words a great germany
4 0
3 years ago
Why was the Battle of Gettysburg considered a turning point of the war?
Otrada [13]
Robert E. Lee’s plan to invade the North and force an immediate end to the war failed
6 0
3 years ago
Read 2 more answers
During the 21st century, one of the major economic problems in Greece has
madreJ [45]

Answer:

B. high levels of debt

Explanation:

4 0
3 years ago
Read 2 more answers
A book about diaries kept during the Holocaust.
Lina20 [59]
Primary; it was a first and experience because it was during the actual event
8 0
4 years ago
Other questions:
  • Why did different political and economic ideologies emerge during this time period
    9·1 answer
  • This Scottish-born American industrialist made his fortune in the steel industry, using vertical integration to decrease cost an
    11·1 answer
  • What is nativism in a sentence
    11·2 answers
  • After being established by John Marshall, the principle of Judicial Review permanently increased the power of the A) Congress. B
    13·2 answers
  • 15 POINTS!!!!!! can someone help me reword this into own words PLEASE?? I need this done
    12·1 answer
  • Why were tanks important on the battlefield? in ww2
    11·1 answer
  • The Mexican army defeated the Texan's at the battle of the on March 6, 1836. (one word, all lower case, 5 letters) ​
    6·1 answer
  • What are three specific conditions faced by the Black community in Birmingham?
    15·1 answer
  • In seeking diplomatic recognition from foreign powers during the War for Independence, the American government found it necessar
    7·1 answer
  • HELP PLEASE SOMEONE
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!