Skip to content

Commit 9eb4902

Browse files
committed
Restructure in progress
1 parent 66ef494 commit 9eb4902

File tree

16 files changed

+29
-24
lines changed

16 files changed

+29
-24
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
4+
5+
//---------------------------------------------------------------------
6+
// ---------- MAIN PROGRAM ----------
7+
//---------------------------------------------------------------------
8+
if (import.meta.main) {
9+
10+
// RUN: deno run Algorithms/DynamicProgramming/Knapsack.ts
11+
}

Big-O/Hello_Big_O.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
const nemo = ['nemo'];
33
const fishColony = ['dory', 'bruce', 'marlin', 'nemo', 'gill', 'bloat', 'nigel', 'squirt', 'darla', 'hank'];
4-
const largeArr = new Array(10000000).fill('squish');
4+
const largeArr = new Array(10_000_000).fill('squish');
55

66
function findNemo(fishes: Array<string>): string {
77
let t0 = performance.now(); // O(1)

Big-O/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Algorithm Time-Complexity Analysis
2+
23
**Goal:** Understand how the runtime of an algorithm is affected by an increasing number of elements.
34

45
## 5 Rules
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)