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
Islam is practiced in the same way by all groups across North Africa.
pogonyaev
Pretty sure this is false!
8 0
3 years ago
Read 2 more answers
Today is my 14th b day no one probably cares but i just felt like letting who ever cares know
igomit [66]

Answer:

HAPPY BIRTHDAY!! Hope you have a great day!! Don't let anyone bring you down!!

Explanation:

6 0
3 years ago
Read 2 more answers
2. What was the purpose of propaganda in Nazi Germany?
Rudik [331]

Answer:

The Nazi propaganda machine exploited ordinary Germans by encouraging them to be co-producers of a false reality.

3 0
3 years ago
NEED HELP NOW <br> Choose ALL correct answers
Olenka [21]
Demand in Europe for Asian goods is all I know
8 0
3 years ago
Read 2 more answers
How did Owens make Hitler eat his own words ​
LenaWriter [7]

Answer:

with the gas bill

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • Hiiiiiii helppp me in this especially number 3 .Rewrite it to make it true if false and if true just write true.
    10·1 answer
  • What law is a set of laws that limit power of the government
    12·1 answer
  • Complete this paragraph about how the countries of Europe plunged into
    5·2 answers
  • Why Andalusi society so diverse?
    15·1 answer
  • In the 20th century, one of the major economic problems in Italy was:​
    7·1 answer
  • What was the aim of the suffragist moment to legalize it income taxes to outlaw alcohol sales to grant women the right to vote t
    5·1 answer
  • Thomas Jefferson acquired the Louisiana Territory from France in 1803 for $15 million because -
    13·1 answer
  • What helped to make the First World War such a long and deadly war?
    7·2 answers
  • Which of the following was NOT one of the parts of the Intolerable Acts AFTER the Boston Tea Party?
    13·2 answers
  • What are three ways Athens democracy affected USA. HELPPP ILL MAKE BRANLIEST FOR ANSWERR
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!