Blossom Project LinkedList

I was working through the computer science track of code academy in the Hash Maps project (called Blossom). In order to successfully complete the project using the step by step instructions provided, I would have had to known about the iter method and yield functions which hadnt been covered previously.

The way LinkedLists were taught and the way it is used in the project is different.

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Hello, @enginerdy, and welcome to the Codecademy Forums!

Link to project: Hash Maps: Blossom

Yes, the Hash Maps: Python lesson that precedes the Blossom project uses open addressing to handle collisions between keys. By contrast, the Blossom project uses separate chaining to handle collisions. While separate chaining is not presented in great depth prior to the Blossom project, it is introduced conceptually in the Hash Maps: Conceptual: Separate Chaining exercise.

When unfamiliar topics such as __iter__ and yield are encountered, a good place to look for reference information is the official Python web site. For example, see Data model: object.__iter__(self).

Edited on December 5, 2019 to add the following:

If you include code in your posts, whether inline or as a block of code, please remember to format it so that underscores, indentation, and other important details are visible. For information on how to format code for posting, see How to ask good questions (and get good answers).

1 Like