fix(curriculum): external wiki link in JS A&DS (#46144)

* fix(curriculum): external wiki link in JS A&DS

* reorder the phrases
pull/46155/head
Muhammed Mustafa 2022-05-25 19:50:19 +02:00 committed by GitHub
parent 9d82633a61
commit 9f73059c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -8,11 +8,9 @@ dashedName: dna-pairing
# --description--
The DNA strand is missing the pairing element. Take each character, get its pair, and return the results as a 2d array.
Pairs of DNA strands consist of protein base pairs. Base pairs are represented by the characters <em>AT</em> and <em>CG</em>, which form building blocks of the DNA double helix.
[Base pairs](http://en.wikipedia.org/wiki/Base_pair) are a pair of AT and CG. Match the missing element to the provided character.
Return the provided character as the first element in each array.
The DNA strand is missing the pairing element. Write a function to match the missing base pairs for the provided DNA strand. For each character in the provided string, find the base pair character. Return the results as a 2d array.
For example, for the input `GCG`, return `[["G", "C"], ["C","G"], ["G", "C"]]`