Big0 #6

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@Rabahseba

Rabahseba commented May 13, 2019

No description provided.

@@ -52,7 +52,9 @@ function factorial(n) {
function bobIsFirst(people) {
return people[0] == "bob";
}
```
```
0(1)

This comment has been minimized.

@Zakk

Zakk May 13, 2019

Correct! Very nice!

@@ -69,6 +71,8 @@ function isPalindrome(input) {
return output == input;
}
```
// Logarithmic complexity O(log(N))

This comment has been minimized.

@Zakk

Zakk May 13, 2019

Close! There is an N (because of the loop) but it's not logarithmic

@Zakk

This comment has been minimized.

Zakk commented May 13, 2019

@Rabahseba Looks like you got 1 out of 8 here. We'll mark this as incomplete for now, giving you 1 week to complete it. Please let one of us know over Slack when you resubmit, so we know to regrade it!

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