Report Accounts With High Mean Resource Utilization

Medium · Data Manipulation (SQL/Python) · Software Engineer · Online Assessment

Problem Statement

You are given two in-memory tables representing customer accounts and their telemetry snapshots (modeled after a PostgreSQL database schema):

Table Column SQL Type Description
customers id INT Unique account identifier (primary key)
customers email VARCHAR(255) Account email address (need not be unique across ids)
site_metrics customer_id INT References customers.id
site_metrics cpu_usage DECIMAL(5,2) CPU utilization percentage
site_metrics memory_usage DECIMAL(5,2) Memory utilization percentage
site_metrics disk_usage DECIMAL(5,2) Disk utilization percentage

Implement customers_above_average_usage (matching the exact behavior of a single read-only PostgreSQL GROUP BY ... HAVING query over these tables):

def customers_above_average_usage(customers: List[Dict[str, int | str]], site_metrics: List[Dict[str, int | float]]) -> List[Dict[str, int | float | str]]:

Aggregation and formatting rules:

  • Per-account grouping: Join customers with site_metrics on customers.id == site_metrics.customer_id and group by account id (never merge separate ids that happen to have the same email). Accounts with zero matching site_metrics rows — and metric rows whose customer_id is missing from customers — are omitted.
  • Exact averages across all snapshots: For each account, compute the exact base-10 (DECIMAL) mean of cpu_usage, memory_usage, and disk_usage across every metric row belonging to that account (skipping None/NULL entries within a column just like SQL AVG). Never discard individual metric rows at or below 50 prior to averaging.
  • Post-aggregation threshold (HAVING): Keep an account if at least one of its three unrounded averages is strictly greater than 50 (> 50). An exact average of 50 does not qualify.
  • Output columns and rounding: For every qualifying account, emit a dictionary with keys email, average_cpu_usage, average_memory_usage, and average_disk_usage. Round each non-null average to 2 decimal places using half-away-from-zero (ROUND_HALF_UP, matching PostgreSQL ROUND(numeric, 2)).
  • Ordering: Order the returned list by email ascending (relative order among rows sharing an identical email is unconstrained).

Examples

Example 1

Input:
  customers = [
    {"id": 10, "email": "nora@cloud.io"},
    {"id": 20, "email": "leo@cloud.io"},
    {"id": 30, "email": "maya@cloud.io"},
    {"id": 40, "email": "owen@cloud.io"}
  ]
  site_metrics = [
    {"customer_id": 10, "cpu_usage": 75, "memory_usage": 25, "disk_usage": 40},
    {"customer_id": 10, "cpu_usage": 25, "memory_usage": 35, "disk_usage": 40},
    {"customer_id": 20, "cpu_usage": 62.25, "memory_usage": 41.10, "disk_usage": 18.00},
    {"customer_id": 20, "cpu_usage": 54.00, "memory_usage": 29.20, "disk_usage": 22.00},
    {"customer_id": 30, "cpu_usage": 15, "memory_usage": 20, "disk_usage": 85}
  ]

Output:
  [
    {"email": "leo@cloud.io", "average_cpu_usage": 58.13, "average_memory_usage": 35.15, "average_disk_usage": 20.0},
    {"email": "maya@cloud.io", "average_cpu_usage": 15.0, "average_memory_usage": 20.0, "average_disk_usage": 85.0}
  ]
  • Nora (id=10) has averages (50, 30, 40) — 50 is not strictly above 50, so she is excluded.
  • Leo (id=20) has unrounded CPU mean (62.25 + 54.00) / 2 = 58.125 > 50, which rounds half-up to 58.13.
  • Maya (id=30) qualifies via disk utilization (85 > 50).
  • Owen (id=40) has no telemetry rows and is omitted. Results are ordered alphabetically by email.

Example 2

Input:
  customers = [
    {"id": 1, "email": "ops@acme.org"},
    {"id": 2, "email": "ops@acme.org"},
    {"id": 3, "email": "billing@acme.org"}
  ]
  site_metrics = [
    {"customer_id": 1, "cpu_usage": 48, "memory_usage": 50, "disk_usage": 50},
    {"customer_id": 2, "cpu_usage": 44, "memory_usage": 68, "disk_usage": 30},
    {"customer_id": 3, "cpu_usage": 50.01, "memory_usage": 12, "disk_usage": 15},
    {"customer_id": 3, "cpu_usage": 50.00, "memory_usage": 12, "disk_usage": 15},
    {"customer_id": 3, "cpu_usage": 50.00, "memory_usage": 12, "disk_usage": 15}
  ]

Output:
  [
    {"email": "billing@acme.org", "average_cpu_usage": 50.0, "average_memory_usage": 12.0, "average_disk_usage": 15.0},
    {"email": "ops@acme.org", "average_cpu_usage": 44.0, "average_memory_usage": 68.0, "average_disk_usage": 30.0}
  ]

Accounts 1 and 2 share "ops@acme.org" yet stay separate: account 1 peaks at 50 (excluded), while account 2 has memory mean 68 (included). Account 3 has unrounded CPU mean 150.01 / 3 = 50.0033... > 50, so it qualifies even though its rounded display value is 50.0.

Constraints

  • customers[i]["id"] values are unique integers; customers[i]["email"] strings may repeat across distinct ids.
  • Non-null metric values represent percentages with up to two decimal places (DECIMAL(5,2) semantics); individual metric cells may be None (NULL).
  • Threshold comparison (> 50) uses exact base-10 unrounded averages before two-decimal half-up rounding.

Step-by-step walkthrough

  1. Understand the tables and the three grading traps

    We have two relational tables:

    • customers(id, email): one row per customer account (id is unique, though two separate accounts may share the same email).
    • site_metrics(customer_id, cpu_usage, memory_usage, disk_usage): zero, one, or many percentage readings per customer.

    For each customer, we compute their average CPU, memory, and disk usage across all of their metric rows, keep any customer where at least one of those three averages is strictly greater than 50, round the displayed averages to 2 decimal places, and sort by email ascending.

    Watch out for three classic traps:

    Trap 1 (WHERE vs HAVING):
      Account 10 has CPU rows [75, 25] -> true average = (75 + 25) / 2 = 50 (does NOT qualify).
      Filtering rows with WHERE cpu_usage > 50 first would drop 25 and leave [75] -> wrong!
    
    Trap 2 (GROUP BY email vs GROUP BY id):
      Account 1 (ops@acme.org): memory 50 -> out
      Account 2 (ops@acme.org): memory 68 -> in (averages: 44, 68, 30)
      Grouping by email alone merges them into one group with memory 59 -> wrong!
    
    Trap 3 (Rounding before checking > 50):
      Raw average 49.9967 rounds to 50.00, still <= 50 -> out.
      Raw average 50.0033 rounds to 50.00, but 50.0033 > 50 -> IN (displayed as 50.00)!
    
  2. Build the PostgreSQL query clause by clause

    In PostgreSQL, each rule maps cleanly to one SQL clause:

    SELECT c.email,
           -- Round to 2 decimal places ONLY for final display in SELECT.
           ROUND(AVG(m.cpu_usage), 2)    AS average_cpu_usage,
           ROUND(AVG(m.memory_usage), 2) AS average_memory_usage,
           ROUND(AVG(m.disk_usage), 2)   AS average_disk_usage
    FROM customers AS c
    -- INNER JOIN keeps only customers who actually have metric rows.
    JOIN site_metrics AS m
      ON m.customer_id = c.id
    -- Group by c.id so two customers sharing an email stay separate rows.
    GROUP BY c.id, c.email
    -- Filter AFTER aggregation on the unrounded averages using strict '>'.
    HAVING AVG(m.cpu_usage) > 50
        OR AVG(m.memory_usage) > 50
        OR AVG(m.disk_usage) > 50
    ORDER BY c.email ASC;
    

    Why each piece is written this way:

    • JOIN (an INNER JOIN): Customers with no rows in site_metrics have no averages to report, and orphan metric rows whose customer_id is absent from customers are ignored.
    • GROUP BY c.id, c.email: c.id defines one group per unique customer account. Including c.email lets us select and sort by c.email cleanly in standard SQL.
    • HAVING instead of WHERE: WHERE filters raw rows before grouping; HAVING filters whole customer groups after AVG(...) has combined all of that customer's rows.
    • ROUND(AVG(...), 2) in SELECT only: Because m.cpu_usage is DECIMAL(5,2) (exact base-10 numeric in PostgreSQL), AVG(...) computes a high-precision decimal average, HAVING checks the unrounded value against 50, and ROUND(..., 2) rounds exact .xx5 ties away from zero (50.125 becomes 50.13).
  3. Why binary floats break SQL decimal rules in Python

    The automated judge passes customers and site_metrics to customers_above_average_usage(customers, site_metrics) as lists of Python dictionaries. A naive Python translation using regular float arithmetic hits three subtle mismatches against PostgreSQL's DECIMAL:

    1. Binary addition drift around 50: Numbers like 41.56, 67.52, 77.41, 58.99, and 4.52 sum to exactly 250 in base 10 (average 50, which must be excluded). Adding them one by one in binary float produces 250.00000000000003, whose average 50.00000000000001 > 50 sneaks past the threshold!
    2. Tie-breaking direction: Python's built-in round(50.125, 2) uses round-half-to-even and gives 50.12, whereas PostgreSQL's ROUND(numeric, 2) rounds halves away from zero and gives 50.13.
    3. Division drift before rounding: Five 50s and one 50.27 sum to 300.27, and 300.27 / 6 = 50.045 exactly (rounds up to 50.05). In binary float, 300.27 / 6 becomes 50.044999999999995, which rounds down to 50.04 even under half-up rules!

    Python's built-in decimal module solves all three: Decimal(str(value)) preserves the exact base-10 digits, division keeps 28 significant decimal digits, and .quantize(Decimal("0.01"), rounding=ROUND_HALF_UP) matches PostgreSQL's rounding rule.

  4. Write the exact-average and rounding helpers

    In SQL, AVG(col) ignores NULL entries and returns NULL if every entry in the group is NULL. Our _exact_average helper mirrors this behavior by skipping None values and returning None when none remain.

    from decimal import Decimal, ROUND_HALF_UP
    from typing import Any, List, Optional
    
    USAGE_COLUMNS = ["cpu_usage", "memory_usage", "disk_usage"]
    THRESHOLD = Decimal(50)
    TWO_DECIMALS = Decimal("0.01")
    
    
    def _exact_average(values: List[Any]) -> Optional[Decimal]:
        # Mirrors SQL AVG() on DECIMAL columns: skip NULL (None) entries and keep
        # exact base-10 arithmetic via Decimal(str(...)) to avoid binary float drift.
        present_values: List[Decimal] = []
        for value in values:
            if value is not None:
                present_values.append(Decimal(str(value)))
    
        if not present_values:
            return None
        return sum(present_values, Decimal(0)) / Decimal(len(present_values))
    
    
    def _round_half_up_2(average: Optional[Decimal]) -> Optional[float]:
        # Mirrors PostgreSQL ROUND(numeric, 2): exact .xx5 ties round away from zero
        # (unlike Python's built-in round(), which uses round-half-to-even).
        if average is None:
            return None
        return float(average.quantize(TWO_DECIMALS, rounding=ROUND_HALF_UP))
    
  5. Translate JOIN, GROUP BY, HAVING, and ORDER BY into Python

    Scanning all M metric rows inside a loop over C customers would take O(C * M) time. Instead, we bucket site_metrics into a dictionary rows_by_customer_id in one O(M) pass, then iterate over customers sorted by (email, id):

    • GROUP BY c.id: rows_by_customer_id maps each customer_id to its list of metric rows.
    • INNER JOIN: If rows_by_customer_id has no rows for customer["id"], we continue.
    • HAVING: Check avg_value > Decimal(50) on the unrounded Decimal averages.
    • SELECT + ORDER BY c.email: Round only when building output_row; visiting customers in (email, id) order keeps the output sorted by email automatically.
    from typing import Any, Dict, List, Optional, Tuple
    
    
    def _email_then_id(customer: Dict[str, Any]) -> Tuple[Any, Any]:
        # Sort by email ascending as required; id breaks ties deterministically.
        return (customer["email"], customer["id"])
    
    
    def customers_above_average_usage(customers: List[Dict[str, int | str]], site_metrics: List[Dict[str, int | float]]) -> List[Dict[str, int | float | str]]:
        # rows_by_customer_id: {customer_id: [metric_row, ...]} — acts like GROUP BY customer_id.
        rows_by_customer_id: Dict[Any, List[Dict[str, Any]]] = {}
        for row in site_metrics:
            cid = row["customer_id"]
            if cid not in rows_by_customer_id:
                rows_by_customer_id[cid] = []
            rows_by_customer_id[cid].append(row)
    
        qualifying_rows: List[Dict[str, int | float | str]] = []
    
        # Iterating in (email, id) order produces output already sorted by email ascending.
        for customer in sorted(customers, key=_email_then_id):
            metric_rows = rows_by_customer_id.get(customer["id"], [])
            if not metric_rows:
                # INNER JOIN drops customers who have zero rows in site_metrics.
                continue
    
            raw_averages: Dict[str, Optional[Decimal]] = {}
            exceeds_threshold = False
            for column in USAGE_COLUMNS:
                column_values = [row[column] for row in metric_rows]
                avg_value = _exact_average(column_values)
                raw_averages[column] = avg_value
    
                # HAVING checks the unrounded average with strict '>' (exactly 50 is excluded).
                if avg_value is not None and avg_value > THRESHOLD:
                    exceeds_threshold = True
    
            if exceeds_threshold:
                output_row: Dict[str, Any] = {"email": customer["email"]}
                for column in USAGE_COLUMNS:
                    output_row["average_" + column] = _round_half_up_2(raw_averages[column])
                qualifying_rows.append(output_row)
    
        return qualifying_rows
    
  6. Trace Example 1 and Example 2

    Example 1:

    id | email          | metric rows (cpu, mem, disk)              | raw averages        | > 50?
    ---+----------------+-------------------------------------------+---------------------+-------
    10 | nora@cloud.io  | (75, 25, 40), (25, 35, 40)                | (50, 30, 40)        | No
    20 | leo@cloud.io   | (62.25, 41.10, 18.00), (54.00, 29.20, 22) | (58.125, 35.15, 20) | Yes (cpu 58.125 -> 58.13)
    30 | maya@cloud.io  | (15, 20, 85)                              | (15, 20, 85)        | Yes (disk 85 > 50)
    40 | owen@cloud.io  | (none)                                    | dropped             | No
    

    Sorted alphabetically by email, Leo comes before Maya: [{'email': 'leo@cloud.io', 'average_cpu_usage': 58.13, 'average_memory_usage': 35.15, 'average_disk_usage': 20.0}, {'email': 'maya@cloud.io', 'average_cpu_usage': 15.0, 'average_memory_usage': 20.0, 'average_disk_usage': 85.0}].

    Example 2:

    id | email            | metric rows (cpu, mem, disk)                | raw averages         | > 50?
    ---+------------------+---------------------------------------------+----------------------+-------
     1 | ops@acme.org     | (48, 50, 50)                                | (48, 50, 50)         | No
     2 | ops@acme.org     | (44, 68, 30)                                | (44, 68, 30)         | Yes (mem 68 > 50)
     3 | billing@acme.org | (50.01, 12, 15), (50, 12, 15), (50, 12, 15) | (50.0033..., 12, 15) | Yes (cpu -> 50.0)
    

    Because we grouped by id rather than email, account 2 stays separate from account 1, and account 3 qualifies before rounding (50.0033... > 50), outputting 'billing@acme.org' followed by 'ops@acme.org'.

  7. Complete solution

    from typing import Any, Dict, List, Optional, Set, Tuple
    from decimal import Decimal, ROUND_HALF_UP
    
    USAGE_COLUMNS = ["cpu_usage", "memory_usage", "disk_usage"]
    THRESHOLD = Decimal(50)
    TWO_DECIMALS = Decimal("0.01")
    
    
    def _exact_average(values: List[Any]) -> Optional[Decimal]:
        # Mirrors SQL AVG() on DECIMAL columns: skip NULL (None) entries and keep
        # exact base-10 arithmetic via Decimal(str(...)) to avoid binary float drift.
        present_values: List[Decimal] = []
        for value in values:
            if value is not None:
                present_values.append(Decimal(str(value)))
    
        if not present_values:
            return None
        return sum(present_values, Decimal(0)) / Decimal(len(present_values))
    
    
    def _round_half_up_2(average: Optional[Decimal]) -> Optional[float]:
        # Mirrors PostgreSQL ROUND(numeric, 2): exact .xx5 ties round away from zero
        # (unlike Python's built-in round(), which uses round-half-to-even).
        if average is None:
            return None
        return float(average.quantize(TWO_DECIMALS, rounding=ROUND_HALF_UP))
    
    
    def _email_then_id(customer: Dict[str, Any]) -> Tuple[Any, Any]:
        # Sort by email ascending as required; id breaks ties deterministically.
        return (customer["email"], customer["id"])
    
    
    def customers_above_average_usage(customers: List[Dict[str, int | str]], site_metrics: List[Dict[str, int | float]]) -> List[Dict[str, int | float | str]]:
        # rows_by_customer_id: {customer_id: [metric_row, ...]} — acts like GROUP BY customer_id.
        rows_by_customer_id: Dict[Any, List[Dict[str, Any]]] = {}
        for row in site_metrics:
            cid = row["customer_id"]
            if cid not in rows_by_customer_id:
                rows_by_customer_id[cid] = []
            rows_by_customer_id[cid].append(row)
    
        qualifying_rows: List[Dict[str, int | float | str]] = []
    
        # Iterating in (email, id) order produces output already sorted by email ascending.
        for customer in sorted(customers, key=_email_then_id):
            metric_rows = rows_by_customer_id.get(customer["id"], [])
            if not metric_rows:
                # INNER JOIN drops customers who have zero rows in site_metrics.
                continue
    
            raw_averages: Dict[str, Optional[Decimal]] = {}
            exceeds_threshold = False
            for column in USAGE_COLUMNS:
                column_values = [row[column] for row in metric_rows]
                avg_value = _exact_average(column_values)
                raw_averages[column] = avg_value
    
                # HAVING checks the unrounded average with strict '>' (exactly 50 is excluded).
                if avg_value is not None and avg_value > THRESHOLD:
                    exceeds_threshold = True
    
            if exceeds_threshold:
                output_row: Dict[str, Any] = {"email": customer["email"]}
                for column in USAGE_COLUMNS:
                    output_row["average_" + column] = _round_half_up_2(raw_averages[column])
                qualifying_rows.append(output_row)
    
        return qualifying_rows
    

    ✅ Submit now — all tests should pass.

Intuition & how it works

Think of customers and site_metrics like a school roster and a stack of daily scorecards across three subjects: CPU, memory, and disk. Each student has a unique student ID (customers.id), though siblings might share a family email (customers.email). We want to print a report card for every student whose full-term average in at least one subject is strictly above 50, with final displayed averages rounded to two decimal places.

Naive shortcuts fail in subtle ways. Filtering individual scorecards with WHERE cpu_usage > 50 before averaging throws away quiet days (turning [90, 10] from a true average of 50 into 90). Grouping by email instead of id blends two separate accounts that share a team email into a single fake average. And in Python, standard binary float arithmetic introduces tiny rounding errors so sums that equal 50 exactly can drift to 50.00000000000001 or .xx5 ties can round the wrong way.

Instead, both the PostgreSQL query and our Python function follow the exact same pipeline. Suppose Nora (id=10, nora@cloud.io) has rows (75, 25, 40) and (25, 35, 40), Leo (id=20, leo@cloud.io) has (62.25, 41.10, 18.00) and (54.00, 29.20, 22.00), and Owen (id=40, owen@cloud.io) has no metric rows:

  1. Join & group by customer ID: Owen has zero metric rows, so an inner join (a join that keeps only rows matching in both tables) drops him. Nora's rows group under id=10; Leo's under id=20.
  2. Compute exact unrounded averages: Using base-10 Decimal math (mirroring SQL DECIMAL), Nora gets (50, 30, 40) and Leo gets (58.125, 35.15, 20).
  3. Filter groups (HAVING): HAVING (SQL's post-aggregation group filter) tests > 50 on the unrounded averages. Leo's CPU (58.125 > 50) passes; Nora's 50 does not.
  4. Round & sort: Round kept averages to 2 decimals (ROUND_HALF_UP, rounding exact .xx5 halves away from zero so 58.125 becomes 58.13) and sort by email ascending.

Complexity

  • Time: O(M + C log C) in Python, where M is len(site_metrics) and C is len(customers). Bucketing metric rows into the dictionary visits each of the M rows once in O(1) average time, sorting the C customers by (email, id) takes O(C log C) time, and computing the three averages touches each of the M stored metric rows once more. In PostgreSQL, a hash join and hash aggregate run in O(M + C) expected time plus O(K log K) to sort the K <= C qualifying output rows; a B-tree index on site_metrics(customer_id) speeds up joining when only a subset of customers is queried.
  • Space: O(M + C). The rows_by_customer_id dictionary holds references to at most M metric rows, and the sorted customer list holds C entries.

Edge cases

  • Average equals 50 exactly: Excluded because the threshold is strictly greater than 50 (> 50, not >= 50).
  • Values straddling 50 before vs after rounding: [50.01, 50.00, 50.00] has raw average 50.0033... > 50, so the customer qualifies even though the displayed rounded average is 50.0. Conversely, [49.99, 50.00, 50.00] has raw average 49.9966... <= 50 and is excluded despite also rounding to 50.0.
  • Exact .xx5 half-cent ties: 50.125 rounds to 50.13 and 300.27 / 6 = 50.045 rounds to 50.05 under PostgreSQL's ROUND(numeric, 2) (ROUND_HALF_UP).
  • Duplicate emails across distinct customer IDs: Each qualifying customer ID produces its own output row; their metrics are never pooled together.
  • Customers with zero metric rows (or metrics with unknown customer_id): Both are excluded by the inner join.
  • NULL (None) metric cells: SQL AVG() skips NULL values within a column rather than treating them as 0; if all rows for one column are NULL, that column's average is NULL (None), while another column > 50 can still qualify the customer.
  • Empty customers or site_metrics: Returns an empty list [].

Common mistakes

  • Filtering in WHERE instead of HAVING: Writing WHERE m.cpu_usage > 50 OR ... removes low-usage rows before AVG(), inflating every customer's average.
  • Grouping by c.email alone: Merges distinct customers who share an email address into one combined row with blended averages.
  • Checking HAVING ROUND(AVG(...), 2) > 50: Drops customers whose raw average is 50.003 because ROUND(50.003, 2) equals 50.00.
  • Combining thresholds with AND instead of OR: The problem asks for customers where at least one of the three averages exceeds 50, not all three.
  • Using binary float and built-in round() in Python: Binary float sums can drift past 50 on exact boundary inputs, and Python's round() uses banker's rounding (round-half-to-even, e.g., round(50.125, 2) == 50.12) instead of PostgreSQL's half-away-from-zero rule (50.13).
  • Calling ROUND(AVG(col), 2) on DOUBLE PRECISION in PostgreSQL: Here the columns are DECIMAL(5,2) (numeric), so ROUND(AVG(...), 2) works directly; if a schema used FLOAT/DOUBLE PRECISION instead, PostgreSQL would require casting AVG(col)::numeric before calling two-argument ROUND.

Follow-up questions

  • How would the query and code change if we instead wanted accounts whose overall mean across all three metrics combined exceeds 50? Confirm with the interviewer how NULL values should behave first. When no cells are NULL, each resource has the same row count per customer, so (AVG(m.cpu_usage) + AVG(m.memory_usage) + AVG(m.disk_usage)) / 3 > 50 and AVG((m.cpu_usage + m.memory_usage + m.disk_usage) / 3.0) > 50 produce identical answers; when NULLs can appear, averaging the three column averages weights each resource equally (1/3 each), whereas averaging per-row sums returns NULL for any row containing a NULL unless wrapped in COALESCE.
  • How could you add a summary column naming which specific metrics pushed each qualifying customer above 50? In PostgreSQL, add CONCAT_WS(', ', CASE WHEN AVG(m.cpu_usage) > 50 THEN 'cpu' END, CASE WHEN AVG(m.memory_usage) > 50 THEN 'memory' END, CASE WHEN AVG(m.disk_usage) > 50 THEN 'disk' END) AS exceeded_resources, since CONCAT_WS automatically skips NULL arguments. In Python, append each column name where avg_value > THRESHOLD to a list and join them with ", ".
  • How would you keep this query fast once the metrics table grows to billions of historical rows? Scanning every historical metric row on each query will become I/O-bound. Maintain a summary table (or materialized view, a precomputed query result stored on disk and refreshed periodically or incrementally) keyed by customer_id storing (cpu_sum, cpu_count, mem_sum, mem_count, disk_sum, disk_count) so averages become an instant O(C) division, and apply table partitioning (splitting site_metrics into physical sub-tables by date range) if queries typically inspect a rolling window like the past 30 days.

Follow-up questions

Similar questions

More IBM interview questions

All 27 IBM questions →