emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[HW1] What is a sample criteria for "fast"? #213

Closed bianshuyang closed 2 years ago

bianshuyang commented 2 years ago

On canvas it says, "This criterion is linked to a Learning Outcome: Speed Fastest model: 3, slowest model: 0" Could you give us some examples concerning speed? The following is my current model and whether I still need to improve it or not. Row: 100, Col: 100, ratio: 0.25 1340 1214 Row: 100, Col: 200, ratio: 0.25 3114 2729 Row: 100, Col: 300, ratio: 0.25 6019 5240 Row: 100, Col: 400, ratio: 0.25 8602 7277 Row: 100, Col: 500, ratio: 0.25 10126 8900 Row: 100, Col: 600, ratio: 0.25 13291 11717 Row: 100, Col: 700, ratio: 0.25 12919 11714 Row: 100, Col: 800, ratio: 0.25 15208 13720 Row: 100, Col: 900, ratio: 0.25 17371 15734