From 8925aea277e4e30db420d3976858250dc5e95de9 Mon Sep 17 00:00:00 2001 From: Dmitriy Gorshenin Date: Thu, 1 Jun 2023 00:12:28 +0300 Subject: [PATCH] Complimentary DNA --- Complementary DNA/ComplimentaryDNA.cpp | 0 Complementary DNA/README.md | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 Complementary DNA/ComplimentaryDNA.cpp create mode 100644 Complementary DNA/README.md diff --git a/Complementary DNA/ComplimentaryDNA.cpp b/Complementary DNA/ComplimentaryDNA.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Complementary DNA/README.md b/Complementary DNA/README.md new file mode 100644 index 0000000..704bbad --- /dev/null +++ b/Complementary DNA/README.md @@ -0,0 +1,12 @@ +# Complementary DNA +Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the "instructions" for the development and functioning of living organisms. + + If you want to know more: http://en.wikipedia.org/wiki/DNA + +In DNA strings, symbols "A" and "T" are complements of each other, as "C" and "G". Your function receives one side of the DNA (string, except for Haskell); you need to return the other complementary side. DNA strand is never empty or there is no DNA at all (again, except for Haskell). + + More similar exercise are found here: http://rosalind.info/problems/list-view/ (source) + +## Example: (input --> output) + "ATTGC" --> "TAACG" + "GTAT" --> "CATA" \ No newline at end of file