Signal Filter

Zscaler coding interview problem: Given n signal frequencies and m filter ranges [x, y], determine how many signals pass through all filters. Each filter allows a frequency interval, and there is exactly one overlapping range shared by every filter. This interview question asks for the count of signals permitted by the common range.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Input Variables
Execution Result: