The project’s doubly‑linked List type (with head / tail and prev / next links between nodes) allows…
The project’s doubly‑linked List type (with head / tail and prev / next links between nodes) allows…: a task in LegoFlow-SWE (Harbor dataset). We need to extend the List API with three new operations so that callers can rearrange items efficiently – for example, moving cards or jokers left/right…
The task
We need to extend the `List` API with three new operations so that callers can rearrange items efficiently – for example, moving cards or jokers left/right in a UI by swapping neighbours or inserting at a chosen index.
Part of Lego-X/LegoFlow-SWE.