DNA Matching
CodeChefOpen on judge ↗
DNA Matching DNA are often made up of compound called nucleotides. There are basically 4 kinds of Nucleotides named as A, T, G and C. DNA are sequences of these nucleotides. If we need to match two DNA sequence we match the nucleotides of the DNA. We allign them and than search for matching nucleotides. For example: Suppose we are given two DNA as k1 = "ATGCA" and k2 = "AGGTC". We allign them
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