AI Coding · SoFi · Medium
You are building the backend logic for a Kanban-style task board. The board has n columns, numbered 0 through n-1, each initially empty. You need to process a sequence of operations, which can be of three kinds: Add a task: Given a unique integer ID and a target column, append the task at the end of that column. Move a task: Move an existing task one column forward (to column +1) or backward (to column -1). The move is always valid (the task exists and will not leave the…
Checking your access…