Rediet8abere / CS-1.3-Core-Data-Structures

MIT License
0 stars 0 forks source link

Submission 4: Hash Tables and article draft #4

Open Sukhrobjon opened 4 years ago

Sukhrobjon commented 4 years ago
  1. Hash Table - (Passes all tests)

    • You don't have to get the sum of all items in the hashtable, you could have just use .size property as you already have it.
      sum = 0
      for i in range(len(self.buckets)):
      sum += self.buckets[i].size
      return sum/len(self.buckets)

      You can use return self.size/(len(self.buckets)) and remove for loop.

  2. Article

    • you have really good outline and paragraphs. And you chose good images, but if you make the font bigger in the images, some of the number and letters too small to read it at one glance.
Rediet8abere commented 4 years ago

issue solved