@alebeta06
Solidity gotcha: `delete myArray` empties the array but leaves your index mapping pointing at ghosts.
Re-add a deleted item and it sneaks into a phantom slot → out-of-bounds panic.
Clear each key first, then nuke the array.
The mapping never sees your delete coming.