# Sean Urbassik #5

Open
wants to merge 3 commits into
from
+214 −74

## Conversation

Projects
None yet
2 participants

### surbassik7 commented May 13, 2019

 Complete 5 Comfort 3.5

### surbassik7 added some commits May 13, 2019

``` identified all ```
``` cb5d61a ```
``` finsihed ```
``` 417ef09 ```

### Zakk reviewed May 13, 2019

 @@ -17,6 +17,8 @@ function wordOccurrence(word, phrase) { } ``` Linear complexity O(N). depending on the length of each array is how much time the algorithm will need to adjust the the strings to lower case.

👍

### Zakk reviewed May 13, 2019

 @@ -34,6 +36,8 @@ function bubble_sort(list) { } ``` Logarithmic complexity O(log(N)). its comparing two list and returning to a certain list

Close!

### Zakk reviewed May 13, 2019

 @@ -46,6 +50,8 @@ function factorial(n) { } ``` O(N!) the loop will grow until the the algorithm is finished

Close!

### Zakk reviewed May 13, 2019

 @@ -54,6 +60,8 @@ function bobIsFirst(people) { } ``` Constant complexity O(1). the algorithm will always return bob.

👍

### Zakk reviewed May 13, 2019

 @@ -70,6 +78,8 @@ function isPalindrome(input) { } ``` O(log(N)) the algorithm is add and taking away to get the variable to be reversed and the time it would take to solve

Close!

### Zakk reviewed May 13, 2019

 @@ -85,6 +95,8 @@ function sumOfDivisors(n) { } ``` O(N!) there is an infinate loop that could cause they system to crash

Close!

### Zakk reviewed May 13, 2019

 @@ -100,6 +112,8 @@ function printAllNumbersThenSumPairs(numArray) { } ``` O(N) this is a two step algorithm which which an array is printed then the pairs are added together, the length of the array dictates the speed at which it cn be completed

👍

### Zakk reviewed May 13, 2019

 @@ -115,3 +129,5 @@ function isPrime(num) { return true; } ``` O(N!) the algorithm will always return false, causing the algorthim to always run

Close!

### Zakk commented May 13, 2019

 @surbassik7 You got 3 out of 8. We'll mark this as incomplete for now, giving you a week to resubmit. Please slack Hammad or I when you do so we know to regrade it!

### Zakk reopened this May 13, 2019

``` done ```
``` 50aa8f9 ```

### surbassik7 commented Jun 17, 2019

 Stacks and Ques