Skip to content

Sockets - Sarah#3

Open
sjscotton wants to merge 3 commits intoAda-C11:masterfrom
sjscotton:master
Open

Sockets - Sarah#3
sjscotton wants to merge 3 commits intoAda-C11:masterfrom
sjscotton:master

Conversation

@sjscotton
Copy link
Copy Markdown

No description provided.

# Time complexity: ?
# Space complexity: ?
# Time complexity: O(n^2) where n is the width of the matrix. Or O(w*h), where w is the width, and h is the height.
# Space complexity: O(1) constant, regardless of the size of the matrix, a constant number of fixed sixed variables are needed.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice explanations of time and space complexity.

end
end
end
return matrix
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clean solution, good work!

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.

2 participants