Longest Well-Performing Interval at Infosys

Medium37.0% acceptance

This problem has 75.0% frequency at Infosys.

Problem Description

We are given `hours`, a list of the number of hours worked per day for a given employee. A day is considered to be a _tiring day_ if and only if the number of hours worked is (strictly) greater than `8`. A _well-performing interval_ is an interval of days for which the number of tiring days is str...

Read full problem and hints

Topics


More Infosys Questions

View all Infosys questions