← All problemsSign in

DNA Editing

Your task is to implement a DNA strand editor. The DNA will be implemented as a linked list with the characters A, G, T, C in various combinations of sequences (represented as numbers in this example). The input will be a sequence which you would have to replace with another sequence. In addition to the standard linked list methods, add the code for a method named $replaceAt$ in the given template

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start