Type d'évaluation
Mise en situation réelle
Analyse
Intelligence Artificielle
Compétences ciblées
Scénario Technique
Context A document editing platform must allow multiple users to edit the same document simultaneously without conflicts overwriting each other changes. The Problem The current last-write-wins strategy causes edits from simultaneous users to overwrite each other, losing data. Constraints Implement a basic operational transform algorithm to reconcile concurrent text insertions and deletions. Maintain a local pending operations queue. Synchronize via WebSocket and apply remote operations after transformation. Expected Deliverable A React collaborative text editor implementing basic operational transforms over WebSocket, correctly merging concurrent edits without data loss.
Prêt à évaluer ce talent ?
Accédez à l'interface de test complète pour soumettre votre architecture ou votre code.