Skip to content

Instantly share code, notes, and snippets.

View theofanisv's full-sized avatar
🤝
Nice

Theofanis theofanisv

🤝
Nice
View GitHub Profile
@theofanisv
theofanisv / Coding challenge - Part Position.md
Last active May 3, 2024 20:41
Cuez - Tinkelist Assignment to Theofanis Vardatsikos

Cuez - Tinkelist Assignment

Coding challenge - Part Position answered by Theofanis Vardatsikos (vardtheo@gmail.com).

What potential actions do you identify as requiring a recalculation of positions in the Parts linked to the Episode?

Actions create and update require recalculation of positions. For update only when the position is changed. Position would not need to be sequential in order for indexing to work e.g., 1,4,5,7 would be acceptable, then delete does not need recalculation.