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

Kay matrix-check-sum #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Kay matrix-check-sum #15

wants to merge 2 commits into from

Conversation

kayxn23
Copy link

@kayxn23 kayxn23 commented Nov 1, 2018

No description provided.

end

#Space Complexity:
# O(n + m) where n is the length/size of the row, and m is length/size of the column.

Choose a reason for hiding this comment

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

The two variables you defined will take up space. The value of those variables will change, but the size they'll take up will remain the same through their lifetime. So, the space complexity will be constant or O(1).

@shrutivanw
Copy link

Nice work!

See a minor correction on space complexity inline. Slack me if you'd like to discuss further.

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