Build a working page like a kanban board with pure vanilla JS and CSS.
Asked in the Machine coding stage. 90-min round, no framework.
For grading, model the board operations with apply_actions(columns, actions). columns is a map from column names to ordered arrays of card IDs. Return the updated map without mutating the input. Each action is one of:
{type: "add", cardId, column, index}{type: "remove", cardId}{type: "move", cardId, to, index}def apply_actions(columns, actions):