← Questions

File replicator that keeps a destination in sync with a source

0
CognitionCodingLast asked Aug 2025

A coding interview question asked in Cognition's online assessment, last asked Aug 2025. It tests file systems, python and replication.

A timed project in Python, not a puzzle. Starting from a given codebase, build a file replicator: whatever happens in a source directory (files and folders created, changed or removed) must be reproduced in a destination directory, which…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

file systems · python · replication · projects

Your code and the AI tutor open when you unlock this question.