exercism-cpp / rna-transcription /
@Wook Song Wook Song authored on 6 Oct 2022
..
.exercism Easy: Add a solution for the exercise, Rna Transcription 3 years ago
test Easy: Add a solution for the exercise, Rna Transcription 3 years ago
CMakeLists.txt Easy: Add a solution for the exercise, Rna Transcription 3 years ago
HELP.md Easy: Add a solution for the exercise, Rna Transcription 3 years ago
README.md Easy: Add a solution for the exercise, Rna Transcription 3 years ago
rna_transcription.cpp Easy: Add a solution for the exercise, Rna Transcription 3 years ago
rna_transcription.h Easy: Add a solution for the exercise, Rna Transcription 3 years ago
rna_transcription_test.cpp Easy: Add a solution for the exercise, Rna Transcription 3 years ago
README.md

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

Created by

  • @LegalizeAdulthood

Contributed to by

  • @cyborgsphinx
  • @elyashiv
  • @jackhughesweb
  • @KevinWMatthews
  • @kytrinyx
  • @patricksjackson

Based on

Hyperphysics - http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html