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 211–240 of 256 results
- StripeMediumData ScientistDesign an idempotent SQL ETL for late data
This question evaluates practical skills in idempotent ETL design, deduplication by natural keys, handling late-arriving and out-of-order records, upsert/merge strategies, and SQL-based aggregation for daily metrics.
Data Manipulation (SQL/Python)Technical Screen - StripeMediumData ScientistDesign metrics and write SQL for a case
This question evaluates the ability to define time‑bounded, attributable conversion metrics and to implement joins, aggregations, and diagnostic checks in SQL to measure marketing outreach impact.
Data Manipulation (SQL/Python)Technical Screen - StripeMediumSoftware EngineerDesign payment-to-invoice matcher with priorities
This question evaluates parsing and data modeling skills, deterministic matching algorithms with prioritization and tie-breaking, handling monetary values as integer cents, and the ability to design comprehensive test suites for edge cases.
Data Manipulation (SQL/Python)Technical Screen - StripeMediumSoftware EngineerReconcile Monthly Bank-Account Balances Across Two Datasets
Implement a reconciliation function that joins internal ledger balances with external bank statements for a target month, categorizing discrepancies while strictly distinguishing between missing records and zero balances.
Data Manipulation (SQL/Python)Technical ScreenData ManipulationHash TableAccounting - StripeMediumData ScientistWrite SQL for snapshot features and labels
This question evaluates proficiency in SQL-based feature engineering for time-series and user-event data, covering snapshotting, temporal joins, deduplication, windowed aggregations, distinct counting, and label construction in the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - TencentMediumData ScientistCompute per-player daily cumulative games with windows
This question evaluates proficiency with SQL window functions, aggregation, date-aware grouping and joins for computing per-player daily counts and running totals, and it falls under Data Manipulation (SQL/Python) for Data Scientist roles, emphasizing practical application rather than purely theoretical concepts.
Data Manipulation (SQL/Python)Technical Screen - TeslaMediumMachine Learning EngineerCompute nearest index within threshold after walking distances
This question evaluates a candidate's proficiency in data manipulation, numerical computing with NumPy, spatial reasoning for Euclidean distance and interpolation along polylines, and designing time- and space-efficient algorithms for large-scale inputs.
Data Manipulation (SQL/Python)Technical Screen - TeslaMediumMachine Learning EngineerImplement and vectorize NumPy Conv2D
This question evaluates understanding of 2D convolution mechanics, multidimensional NumPy array manipulation, and the competency to optimize numerical computations for performance and memory.
Data Manipulation (SQL/Python)Technical Screen - The New York TimesEasyData AnalystWrite SQL for content-view analytics
This question evaluates proficiency in SQL-based data manipulation and analytics, including aggregation, distinct counting, NULL handling, timestamp/hour extraction, device grouping, and row-level ordering, and is situated in the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCalculate Conversion Rate from Ad Clicks to Page Visits
This question evaluates a candidate's competency in event-level data manipulation and metric computation using SQL or Python, including time-based aggregation, deduplication, and joining or windowing of event streams.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCalculate Day-7 Retention Rate from User Post Data
This question evaluates a candidate's competency in SQL and Python data wrangling, emphasizing date arithmetic, window functions, grouping, and conditional aggregation for cohort and retention calculations.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCalculate User Registration Date and 7-Day Retention Rate
This question evaluates the ability to perform time-based data manipulation and cohort retention analysis using SQL/Python, including deriving registration dates, aggregating posts within time windows, and computing retention metrics.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCalculate valid daily usage with gap constraints
This question evaluates a candidate's ability to manipulate temporal intervals, including clipping to a specified day window, merging touching or overlapping segments, detecting gaps, and aggregating minute-level durations using SQL window functions and date/time arithmetic, and belongs to the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCompute 7-day rolling complaint/order ratio in SQL
This question evaluates SQL data manipulation skills, specifically time-based aggregations, sliding window functions, joins to include entities with no events, and numeric casting within the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCompute and rank top bad advertisers
This question evaluates proficiency in SQL data manipulation and analytics, including time-window filtering, JOINs, aggregation and deduplication, rate calculations, and window-function–based ranking.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistCompute last-to-previous ad impression gaps
This question evaluates proficiency in data manipulation and time-based analytics, covering SQL window functions, timestamp arithmetic, and grouping/ordering semantics within the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData EngineerDebug a Hive Query for DAU
This question evaluates proficiency in Hive/SQL query formulation, data partitioning and pruning, join and aggregation semantics, timestamp handling, and performance tuning for large-scale analytics.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData EngineerDebug a Hive insert query
This question evaluates a candidate's ability to debug Hive INSERT/SELECT operations, focusing on schema and column alignment, data types and casts, partition handling, file formats/SerDe, ACID/transactional constraints, and syntax or reserved keyword issues.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumSoftware EngineerDiscuss Python mutability, copying, and GIL
This question evaluates understanding of Python mutability and copying semantics — including how mutable versus immutable objects affect function arguments and container behavior — and knowledge of the Global Interpreter Lock (GIL) and concurrency models.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData EngineerExplain a SQL query result
This question evaluates proficiency in SQL result-set interpretation and reasoning about joins, filters, aggregations, window functions, NULL handling, duplicate rows, and ordering within the Data Manipulation (SQL/Python) domain for a Data Engineer role.
Data Manipulation (SQL/Python)Technical Screen - TikTokEasyData ScientistFind top-paid employee per department
This question evaluates a candidate's competency in SQL data manipulation, including aggregation, ranking, handling of duplicate and historical rows, tie semantics, and temporal data interpretation when determining the top-paid employee per department.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistIdentify Repeat Advertisers from Consecutive Weeks
This question evaluates a candidate's proficiency in manipulating relational data to identify recurring entities across consecutive time periods, focusing on SQL/Python data manipulation and temporal comparison of records.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistInvestigating Correlation Between Ad Visits and Reports
This question evaluates a data scientist's competency in operational analytics, including defining and aggregating metrics in SQL and applying causal reasoning to interpret correlations between ad exposures and user reports.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistSQL Queries and Analysis on Bad Advertisers
This question evaluates SQL query writing, metric definition and normalization, ranking/aggregation techniques, and analytical reasoning for identifying problematic advertisers.
Data Manipulation (SQL/Python)Technical Screen - TikTokEasyData ScientistWrite SQL for TikTok Live creator metrics
This question evaluates SQL data-manipulation competencies such as joins, aggregations, group-by and window functions, handling missing activity rows, date-range filtering, country partitioning, and deterministic tie-breaking for top-k metrics.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumData ScientistWrite SQL for last-7-day metrics without windows
This question evaluates proficiency in ANSI SQL data manipulation, including aggregation, de-duplication, date arithmetic, joins and subqueries, GROUP BY/HAVING usage, and cohort/retention and conversion calculations performed without window functions.
Data Manipulation (SQL/Python)Technical Screen - TikTokMediumSoftware EngineerWrite complex SQL for cohorts and retention
This question evaluates advanced SQL and data-engineering competencies such as cohort and retention analysis, deduplication, timezone normalization, last-touch attribution, aggregate revenue calculations, and effective use of window functions in the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - Tools For HumanityEasyData ScientistCompute reply-based engagement metrics
This question evaluates proficiency in data manipulation and analytics, emphasizing SQL/Python skills for temporal filtering, joins between posts and users, deduplication, aggregation (distinct counts), and percentage calculations used to compute reply-based engagement metrics.
Data Manipulation (SQL/Python)Technical Screen - TubiMediumData ScientistCompute daily net users from event logs
This question evaluates SQL-based data manipulation skills focused on daily aggregation, cohort and retention calculations, deduplicating event records, and grouping metrics by device_platform.
Data Manipulation (SQL/Python)Technical Screen - TwitchMediumData ScientistAnalyze Streaming Data with SQL for Monthly Trends
This question evaluates proficiency in SQL time-series aggregation, date extraction and grouping across calendar months, join and conditional aggregation techniques, windowed month-over-month comparisons, and handling sparse or multi-year datasets; Category: Data Manipulation (SQL/Python); level: practical application.
Data Manipulation (SQL/Python)Technical Screen