Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sockets - Jansen #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

JansenMartin
Copy link

No description provided.

end
end

column_zero_zeroes = false

Choose a reason for hiding this comment

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

I'd recommend having all of your variables at the top of your method, that way if you ever need to add or change a variable you do not need to hunt through the method to find it.

# Space complexity: ?
# Time complexity: O(r * c), where r equals the number of arrays (rows) inside the array, and
# c equals the number of elements (columns) inside of a nested array
# Space complexity: O(1), or constant. We're not creating any additional data structures that hinges on user input

Choose a reason for hiding this comment

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

Great explanations on time and space complexity.

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