Similarity Check
CodeChefOpen on judge ↗
In an effort to develop a system to check for plagiarism, a client asks you to develop a program that measures how different two texts are from each other. Specifically, given two texts (strings) A and B, he’d like to be able to compute the minimum number of characters that need to be added to and/or removed from A to get B (or equivalently, the total number of characters that must be added to
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start