Skip to content
ComputerCS
Start learning

Computer Science and Entrepreneurship · Practice

Programming challenge bank

219 Python coding challenges, retained alongside the full PECTAA curriculum. Filter the existing Python challenge bank by its mapped textbook unit, run visible and hidden tests, and keep your solved record and code drafts.

219 challenges6 difficulty tiers0 solved0 attempted0 XP earned

Loading saved progress…

Open full IDE

Algorithms and Problem Solving · brutal · 150 XP

Line Diff Lite

1 tests

Input: a line n1, then n1 lines of text A (they may contain spaces), then a line n2, then n2 lines of text B. Compute the longest common subsequence of the line sequences. Print three lines: "LCS: k", "DELETE: d" (lines of A missing from the LCS, so d = n1 - k) and "INSERT: i" (lines of B not in the LCS, so i = n2 - k).

Python IDE

Python development workspace

Write, run, debug and manage Python projects directly in your browser.

Editor
python3 — ready
Terminal readyRun your Python file. Output, errors and input echoes will appear here.
Nerdlyy Agent · DisabledDisabled while you work through a lab or practice task so your attempt stays independent.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.