FastPrepMeeting Concurrency Intervals
Problems/Meeting Concurrency Intervals

Meeting Concurrency Intervals

Google logoGoogle● MediumFULLTIMEONSITE INTERVIEW

Updated Nov 2026

QuestionFunctionExamplesConstraints

Problem statement

Source note: A Google interview report describes this task as returning every maximal interval when exactly X meetings are active. The report does not give a complete portable input format, so we chose these rules. Meetings are half-open [start,end). Zero-length meetings are ignored. All events at the same time are combined. The result is every maximal non-empty interval, in time order.

Given meeting intervals and a positive target x, return each maximal half-open interval during which exactly x meetings are active.

Function

exactMeetingConcurrency(meetings: int[][], x: int) → int[][]

Examples

Example 1

meetings = [[1,4],[2,5],[4,6]]x = 2return = [[2,5]]

A simultaneous end and start keeps the count at two.

Example 2

meetings = [[1,3],[1,3]]x = 2return = [[1,3]]

Both meetings are active throughout the interval.

Constraints

  • 0 <= meetings.length <= 100000
  • Each row is [start,end] with start <= end.
  • 1 <= x <= meetings.length + 1

More Google Onsite Interview questions

  • Route Pattern MatcherPHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • Evaluate a Nested Math ExpressionPHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • Distinct Subset SumsONSITE INTERVIEW · Seen Nov 2026
  • Playlist With No Same Artist in a RowONSITE INTERVIEW · Seen Nov 2026
  • Delete Nodes and Return Forest RootsONSITE INTERVIEW · Seen Nov 2026
  • Dice-Walk Winning ProbabilityPHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • First and Last Target Position in a Mountain ArrayONSITE INTERVIEW · Seen Nov 2026
  • Lowest Common Ancestor in an N-ary TreePHONE SCREEN · ONSITE INTERVIEW · Seen Nov 2026
  • 0/1 Knapsack with Weight and Volume LimitsONSITE INTERVIEW · Seen Nov 2026
  • Batched Subsequence Word MatchesONSITE INTERVIEW · Seen Nov 2026

Similar questions at other companies

  • Meeting Scheduling SystemHevo Data · ONSITE INTERVIEW
  • Detect a Server RAM Capacity BreachMyntra · ONSITE INTERVIEWMyntra interview questions
  • Peak Chat Load Across AgentsCresta · PHONE SCREENCresta interview questions
  • Majority Labels over Audio IntervalsNooks · PHONE SCREEN
  • Brightest Position on a StreetCapital One · OACapital One interview questions
  • Merge IntervalsApple · OA · PHONE SCREEN · ONSITE INTERVIEWApple interview questions
  • Merge Overlapping IntervalsAtlassian · PHONE SCREEN · ONSITE INTERVIEWAtlassian interview questions
  • Maximum Concurrent Processes (Bar Raiser Round)Amazon · PHONE SCREEN · ONSITE INTERVIEW
  • Maximum Intervals Overlapping a Fixed-Length WindowBooking.com · ONSITE INTERVIEW
  • Meeting Rooms IISalesforce · ONSITE INTERVIEWSalesforce interview questions

Google interview experiences

  • Google interviews · November 2026
  • Google Software Engineer Onsite Questions: 10 Experiences
  • Google OA: What It Tests (2026)
  • Google L4 SWE Phone Screen: 1 Experience
  • Google ML Engineering Manager Onsite: 1 Experience
  • Google Experienced SWE First Round and Onsite: 1 Experience
All Google interview questionsSee Google hiring insights
Saved
class Solution {
    public int[][] exactMeetingConcurrency(int[][] meetings, int x) {
      // Write your code here.
    }

}
Checking account…