Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
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