Skip to content

Commit 8145b25

Browse files
committed
minor refactor
1 parent 262a6b5 commit 8145b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_programming/fibonacci.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() {
99
syncExecTimeMeasure(() => print(fibRecursive(45)), name: 'O(n^2)');
1010
}
1111

12-
// Tabulation (Bottom-up approach in Dynamic Programming)
12+
// Tabulation (Bottom-up approach in Dynamic Programming) (usually done using iteration).
1313
// Time Complexity: O(n), and better Auxiliary Space.
1414
fibTabulated(int n) {
1515
if (n <= 0) throw ArgumentError('Input must be a positive integer');

0 commit comments

Comments
 (0)