Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

+7
View File
@@ -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.