We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b623b commit 9cfeec6Copy full SHA for 9cfeec6
lesson_07/conditionals/src/lesson7.ts
@@ -32,7 +32,6 @@ export function compareStrings(a: string, b: string): number {
32
} else {
33
return 0;
34
}
35
- // TODO(you): Finish this method.
36
37
38
/**
@@ -84,7 +83,6 @@ export function computeFactorial(n: number): number {
84
83
85
return n;
86
87
-/* 4! = 4 x 3 x 2 x 1 = 24*/
88
89
* Adds all of the provided values and returns the sum.
90
*
@@ -141,7 +139,6 @@ export function binarySearch(
141
139
142
140
const pivotIndex = Math.floor((start + end) / 2); // The index in the middle of the array.
143
144
- // TODO(you): Finish implementing this algorithm
145
146
if (values[pivotIndex] == value) {
147
return pivotIndex;
0 commit comments