Skip to content

docs(big-o-notation): add matrix visualization for nested-loop comple… - #1

Open
zeinabsajadi wants to merge 1 commit into
itsmadson:mainfrom
zeinabsajadi:patch-1
Open

zeinabsajadi wants to merge 1 commit into
itsmadson:mainfrom
zeinabsajadi:patch-1

Conversation

@zeinabsajadi

Copy link
Copy Markdown

Adds a visual/formal derivation of O(n²) via i×j grid traversal,
plus the triangular-traversal case (j depends on i) showing why
n(n-1)/2 stays O(n²) despite the halved constant. No changes to
existing content.

…xity

Adds a visual/formal derivation of O(n²) via i×j grid traversal,
plus the triangular-traversal case (j depends on i) showing why
n(n-1)/2 stays O(n²) despite the halved constant. No changes to
existing content.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant