Katkat

practice a little every day, paws crossed ♡

Data Manipulation (SQL/Python) Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 271–300 of 446 results

  • MillenniumMediumSoftware Engineer
    Implement paginated API ingestion

    This question evaluates skills in API integration, paginated data ingestion, error handling with retries and exponential backoff, rate limiting, streaming CSV serialization without holding all records in memory, schema normalization, unit testing, and time/space complexity analysis.

    Data Manipulation (SQL/Python)Online Assessment
  • MixpanelMediumData Scientist
    Calculate First-Week Retention by Signup Cohort

    Compute first-week activity retention by signup-week cohort with all cohort users in the denominator and zero-retention cohorts included.

    Data Manipulation (SQL/Python)Technical Screen
  • MixpanelMediumData Scientist
    Compare First-Week Retention by Plan Type

    Compare first-week retention by recorded plan type with distinct-user counts, inclusive denominators, and four-decimal rates.

    Data Manipulation (SQL/Python)Technical Screen
  • MixpanelMediumData Scientist
    Count Users Active After Signup

    Count distinct users with at least one event on or after signup using a PostgreSQL query.

    Data Manipulation (SQL/Python)Technical Screen
  • MixpanelMediumData Scientist
    Count Users Retained on Day Seven

    Count users active on the seventh calendar day after signup, without double-counting repeated events.

    Data Manipulation (SQL/Python)Technical Screen
  • MolocoMediumData Scientist
    Find top advertisers and cost per KPI

    This question evaluates proficiency in data manipulation and analytical SQL/Python skills, including aggregation, ranking with ties, dataset joins at a defined grain, date-based filtering relative to campaign launch dates, and handling division-by-zero scenarios when computing cost metrics.

    Data Manipulation (SQL/Python)Technical Screen
  • Morgan StanleyMediumData Scientist
    Describe Your Analysis and Visualization Toolkit

    Tests your ability to articulate an end-to-end data analysis and visualization workflow clearly and concisely for recruiters and hiring managers, connecting technical tool choices directly to business outcomes.

    Data Manipulation (SQL/Python)HR Screendata-analysissqlpython
  • MotiveMediumSoftware Engineer
    Fetch and parse JSON from REST API

    A Motive Software Engineer onsite coding exercise: build a small, resilient script from scratch that performs an authenticated HTTP GET against a paginated REST API, parses the JSON, extracts and transforms records, and produces both serialized CSV/JSON output and per-category top-k aggregates. It evaluates HTTP/REST integration, rate-limit and retry handling with backoff, timeouts, malformed-record handling, unit testing, logging, and complexity analysis.

    Data Manipulation (SQL/Python)Onsite
  • NVIDIAMediumSoftware Engineer
    Analyze and debug Python utilities

    This interview question evaluates SQL or pandas logic, joins, grouping, window functions, null handling, edge cases, and validation in a realistic interview setting. A strong answer for Analyze and debug Python utilities states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Data Manipulation (SQL/Python)Onsite
  • NVIDIAMediumSoftware Engineer
    Implement 2D convolution using NumPy slicing

    This question evaluates a candidate's proficiency with array manipulation and vectorized numerical computation using NumPy, focusing on 2D convolution concepts such as slicing, broadcasting, and filter application.

    Data Manipulation (SQL/Python)Technical Screen
  • NVIDIAMediumSoftware Engineer
    Implement a Python test harness

    This interview question evaluates SQL or pandas logic, joins, grouping, window functions, null handling, edge cases, and validation in a realistic interview setting. A strong answer for Implement a Python test harness states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Data Manipulation (SQL/Python)Online Assessment
  • NetflixMediumData Scientist
    Aggregate D1 retention cohorts in SQL

    This question evaluates a candidate's competency in time-series cohort analysis and SQL-based data manipulation, specifically measuring DAU, new-user cohorts, D1 retention and revenue-per-user while handling deduplication and user filtering.

    Data Manipulation (SQL/Python)Onsite
  • NetflixMediumData Scientist
    Analyze Retention Metrics Using SQL and Python

    This question evaluates proficiency in SQL time-based cohort analysis and practical Python algorithm implementation, testing retention metric computation using windowed date calculations and an efficient approach for finding two numbers whose sum is closest to zero.

    Data Manipulation (SQL/Python)Other
  • NetflixMediumData Scientist
    Determine Maximum Consecutive Order Days Per User

    Determine Maximum Consecutive Order Days Per User evaluates SQL or pandas logic, joins, grouping, window functions, null handling, edge cases, and validation in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Data Manipulation (SQL/Python)Onsite
  • NetflixMediumMachine Learning Engineer
    Transform flat keys into nested dictionary

    This question evaluates proficiency in parsing and restructuring hierarchical parameter keys into nested dictionary structures, string manipulation for grouping, handling nonconforming keys and duplicates, and reasoning about time and space complexity.

    Data Manipulation (SQL/Python)Technical Screen
  • NetflixMediumData Scientist
    Write SQL for rolling frequency caps

    This question evaluates proficiency with rolling-window analytics, frequency cap logic, time-based attribution, and per-user/per-campaign aggregation for advertising data.

    Data Manipulation (SQL/Python)Onsite
  • NotionMediumData Scientist
    Analyze Document Collaboration CSVs

    This problem tests your ability to clean, join, and analyze messy user-activity data using pandas or SQL, focusing on window functions and handling missing values.

    Data Manipulation (SQL/Python)Technical ScreenSQLPandasData Cleaning
  • NotionEasyData Scientist
    Analyze document collaboration from CSV logs

    This question evaluates data manipulation and analytical competencies—particularly deduplication, joins, aggregation, co-occurrence counting, and metric definition—applied to CSV access logs and user metadata.

    Data Manipulation (SQL/Python)Technical Screen
  • NotionMediumData Scientist
    Analyze document collaboration patterns

    This question evaluates a candidate's competency in data manipulation and analytics—specifically joins, deduplication of user-document pairs, aggregation, and computation of user- and country-level collaboration metrics using SQL or Python.

    Data Manipulation (SQL/Python)Technical Screen
  • NuroEasyData Engineer
    Compute unique duration by merging intervals

    This question evaluates a data engineer's proficiency in temporal data manipulation and interval-set reasoning using SQL and Python, specifically skills in merging overlapping intervals and computing deduplicated cumulative durations.

    Data Manipulation (SQL/Python)Technical Screen
  • OpenAIHardData Scientist
    Compute churn with re-subscriptions

    This problem tests your ability to reconstruct user subscription states over time from raw event logs, specifically identifying active status to calculate monthly churn rates.

    Data Manipulation (SQL/Python)Technical ScreenSQLData ManipulationTime-series
  • OpenAIEasyData Scientist
    Compute signup rate and retention from raw logs

    This question evaluates the ability to manipulate event-level logs to compute cohort metrics—specifically signup rate and D30 retention—testing proficiency in SQL/Python, event-time windowing, joins, aggregation, and understanding of upstream logging semantics.

    Data Manipulation (SQL/Python)Technical Screen
  • OpenAIMediumData Scientist
    Debug and harden trial-assignment Python code

    This question evaluates understanding of experiment assignment, data integrity, reliability engineering, concurrency, observability, and privacy in data systems, testing competencies around randomness, idempotency, time semantics, retries, and failure-mode identification.

    Data Manipulation (SQL/Python)Technical Screen
  • OpenAIMediumData Scientist
    Design Schema and Logic for Subscription Event Tracking

    This question evaluates proficiency in event-driven data modeling, temporal state derivation, and implementation of SQL/Python logic to compute per-user subscription status and history within the Data Manipulation (SQL/Python) domain.

    Data Manipulation (SQL/Python)Online Assessment
  • OpenAIMediumData Scientist
    Design Schema for Accurate Subscription State Tracking

    This question evaluates proficiency in temporal schema design and event-level data modeling, focusing on reconstructing time-varying subscription state using SQL and Python in the Data Manipulation (SQL/Python) domain.

    Data Manipulation (SQL/Python)Online Assessment
  • OpenAIHardData Scientist
    Handle repeated churn in SQL

    This problem tests your ability to handle complex temporal data by identifying user churn and re-subscription events, then calculating metrics like tenure and churn count per user.

    Data Manipulation (SQL/Python)Technical ScreenSQLWindow FunctionsTime Series
  • OpenAIMediumMachine Learning Engineer
    Implement vectorized NumPy ops and explain broadcasting

    This question evaluates proficiency in vectorized numerical computing with NumPy, understanding of broadcasting semantics, and awareness of numerical stability and algorithmic time/space complexity when manipulating high-dimensional arrays.

    Data Manipulation (SQL/Python)Onsite
  • OpenAIMediumSoftware Engineer
    Parse and build binary data in Python

    This question evaluates proficiency in binary data handling and serialization/deserialization in Python, including little-endian integer encoding, length-prefixed payloads, robust error handling for short reads and invalid lengths, and testability and performance considerations.

    Data Manipulation (SQL/Python)Technical Screen
  • OpenAIMediumMachine Learning Engineer
    Train and analyze a classifier

    This question evaluates proficiency in end-to-end machine learning engineering, including exploratory data analysis, time-aware train/validation/test splitting, model baseline and improvement, class imbalance strategies, leakage-safe hyperparameter tuning, metric computation and calibration, error analysis, reproducible training pipelines with CLI/config/seed control, explainability (feature importance/SHAP and ablations), and documentation of risks, fairness checks and monitoring hooks. It is commonly asked to assess practical ability to manage the full ML lifecycle and data hygiene in production-like scenarios, testing applied Data Manipulation (SQL/Python) and Machine Learning competencies with an emphasis on practical application while also requiring conceptual understanding of evaluation, calibration and fairness.

    Data Manipulation (SQL/Python)Technical Screen
  • OpenAIHardData Scientist
    Write SQL for repeat churn

    This question evaluates proficiency in event-time analytics and cohort churn metric computation using SQL, focusing on correct identification of first qualifying events and aggregation by experimental variant.

    Data Manipulation (SQL/Python)Technical Screen