commit
e092cb029c
252 files changed
+35037
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// CALL: COUNT_BASES('A', "GATTACA")
|
||||
// EXPECT: COUNT_BASES returned 3
|
||||
To count the B bases in T:
|
||||
Start with Count at 0.
|
||||
For each letter c of T:
|
||||
If c is B, add 1 to Count.
|
||||
The answer is Count.
|
||||
Reference in new issue
Block a user