Task Manager Design
Rippling interview questions · Hard · Coding round · 6 tests
Rippling candidates reported an AI-assisted coding round built around a task scheduler / task manager.
Given a batch of tasks, return the final display order after deduplicating, filtering, sorting, and placing subtasks directly after their parent.
Interface
interface Task {
id: string;
description: string;
dueDate: string; // ISO-8601 date or date-time string
priority: number; // larger number = higher priority
completed: boolean;
parentId?: string | null;
}
orderTasks(tasks: Task[]): string[]Run your code with Ctrl+Enter to see results.