Skip to content
Prev Previous commit
Next Next commit
removed multi-line comment
  • Loading branch information
Carlos Green committed Nov 7, 2020
commit 8fcc71744cb92e941d1eefafba08fa2fc1958efa
2 changes: 0 additions & 2 deletions chapter08/8.01 - Triple Step/tripleStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Recursion and Dynamic Programming (4 steps)
4. Apply final tricks to reduce the time / memory complexity
*/

/*
// Recursive BackTracking
// Time & Space O(n!)
var tripleStep = function(n, res=0) {
Expand Down Expand Up @@ -38,7 +37,6 @@ var tripleStep = function(n, memo=[1,1,2,4]) {

return memo[memo.length - 1]
}
*/

// Removed Memoization
// Time O(n) & Space O(1)
Expand Down