All practice tasks

SQL Case

First-day post engagement

Count reactions received within 24 hours after each published post.

Schema

sql
CREATE TABLE social_users (id INTEGER PRIMARY KEY, handle TEXT NOT NULL, joined_at TEXT NOT NULL);
CREATE TABLE posts (id INTEGER PRIMARY KEY, author_id INTEGER NOT NULL, topic TEXT NOT NULL, created_at TEXT NOT NULL, status TEXT NOT NULL);
CREATE TABLE reactions (id INTEGER PRIMARY KEY, post_id INTEGER NOT NULL, user_id INTEGER NOT NULL, reaction_type TEXT NOT NULL, created_at TEXT NOT NULL);
CREATE TABLE follows (follower_id INTEGER NOT NULL, followed_id INTEGER NOT NULL, created_at TEXT NOT NULL);
CREATE TABLE moderation_actions (id INTEGER PRIMARY KEY, post_id INTEGER NOT NULL, action TEXT NOT NULL, created_at TEXT NOT NULL);

What this task practices

First-day post engagement is a sql case interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as medium difficulty. It focuses on Data Reasoning, Validation, Technical Reasoning. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.