Skip to content

India - Water#28

Open
indiakato wants to merge 7 commits into
Ada-C14:masterfrom
indiakato:master
Open

India - Water#28
indiakato wants to merge 7 commits into
Ada-C14:masterfrom
indiakato:master

Conversation

@indiakato

Copy link
Copy Markdown

No description provided.

@CheezItMan CheezItMan left a comment

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 work India, you hit the learning goals here. Well done. My only comments here were on the missing space/time complexities.

Comment thread lib/linked_list.rb
Comment on lines 21 to +23
# Time Complexity: ?
# Space Complexity: ?
def add_first(value)
raise NotImplementedError
end
def add_first(value)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 29 to +31
# Time Complexity: ?
# Space Complexity: ?
def search(value)
raise NotImplementedError
def search(value)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 43 to +45
# method to return the max value in the linked list
# returns the data value and not the node
def find_max
raise NotImplementedError
def find_max

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 65 to +67
# Time Complexity: ?
# Space Complexity: ?
def find_min
raise NotImplementedError
def find_min

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 89 to +91
# Time Complexity: ?
# Space Complexity: ?
def get_first
raise NotImplementedError
end
def get_first

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 96 to +98
# Time Complexity: ?
# Space Complexity: ?
def add_last(value)
raise NotImplementedError
def add_last(value)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 114 to +116
# Time Complexity: ?
# Space Complexity: ?
def length
raise NotImplementedError
def length

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 131 to +133
# Time Complexity: ?
# Space Complexity: ?
def get_at_index(index)
raise NotImplementedError
def get_at_index(index)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/space complexity?

Comment thread lib/linked_list.rb
Comment on lines 149 to +151
# Time Complexity: ?
# Space Complexity: ?
def visit
raise NotImplementedError
def visit

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Time/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