WGU C950 Task 2: Data Structures and Algorithms II
| Verified Study complete Solutions | A+ Graded |
2026 Updates | 100% correct
03/25/2026
C950 Data Structures and Algorithms II
Page 1 of 12
, A. Hash Table
I used a list of buckets to create a custom hash table. The delivery address,
deadline, city, zip code, weight, delivery status, and delivery time are all stored in
each package object, with the package ID serving as the key. I put each package
into a bucket using a straightforward modulo hash algorithm. This eliminates the
need to use Python's built-in dictionary as the primary data structure and enables
the quick insertion and updating of package information.
B. Look-Up Functions
Page 2 of 12
| Verified Study complete Solutions | A+ Graded |
2026 Updates | 100% correct
03/25/2026
C950 Data Structures and Algorithms II
Page 1 of 12
, A. Hash Table
I used a list of buckets to create a custom hash table. The delivery address,
deadline, city, zip code, weight, delivery status, and delivery time are all stored in
each package object, with the package ID serving as the key. I put each package
into a bucket using a straightforward modulo hash algorithm. This eliminates the
need to use Python's built-in dictionary as the primary data structure and enables
the quick insertion and updating of package information.
B. Look-Up Functions
Page 2 of 12