Question
Back to all questions

Given a list of (date, duration) tuples, how would you filter by time period and calculate summary stats (average, rolling sum)?

Tags

Data Analyst
Marketer
General
SQL

Consider using pandas for Python solutions or appropriate SQL window functions, focusing on efficient filtering and aggregation techniques.

Companies Asking this quesiton.

Hard Difficulty

Hard questions require advanced understanding and critical thinking. Here, your problem-solving skills are key, as these questions often involve complex scenarios needing in-depth analysis and well-structured responses.

SQL question

SQL questions test your ability to work with relational databases. Demonstrate your proficiency in writing queries, understanding database design, optimizing performance, and extracting meaningful information from structured data.

Leaderboard for Date-Duration Tuple Analysis?”