Leap, Difference of Squares, Grains, Collatz Conjecture, Queen Attack, Darts, Hamming, and Space Age completed yesterday. Binary and Linked List completed today. |
||
---|---|---|
.. | ||
.exercism | ||
test-framework | ||
HELP.md | ||
makefile | ||
README.md | ||
rna_transcription.c | ||
rna_transcription.h | ||
test_rna_transcription.c |
RNA Transcription
Welcome to RNA Transcription on Exercism's C Track.
If you need help running the tests or submitting your code, check out HELP.md
.
Instructions
Given a DNA strand, return its RNA complement (per RNA transcription).
Both DNA and RNA strands are a sequence of nucleotides.
The four nucleotides found in DNA are adenine (A), cytosine (C), guanine (G) and thymine (T).
The four nucleotides found in RNA are adenine (A), cytosine (C), guanine (G) and uracil (U).
Given a DNA strand, its transcribed RNA strand is formed by replacing each nucleotide with its complement:
G
->C
C
->G
T
->A
A
->U
Source
Contributed to by
- @bcc32
- @Gamecock
- @gea-migration
- @h-3-0
- @patricksjackson
- @QLaille
- @RealBarrettBrown
- @ryanplusplus
- @sjwarner
- @wolf99
Based on
Hyperphysics - http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html