Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
answers done
  • Loading branch information
CaiIsProgrammer committed Oct 11, 2019
commit 6f65259c88e450850858f995c32ba6b552f66052
17 changes: 10 additions & 7 deletions Short-Answer/Algorithms_Answers.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#### Please add your answers to the ***Analysis of Algorithms*** exercises here.
#### Please add your answers to the **_Analysis of Algorithms_** exercises here.

## Exercise I

a)
a) O(n)

b) O(n^2)

b)


c)
c)const

## Exercise II


using a nested for loop
for num of floors
for current floor of floors
compare breaking distance to drop distance
if not break set both to done and break
O(n^2)