bitprj / curriculum

Democratizing Technical Education 🐮
https://bitproject.org/curriculum
MIT License
56 stars 19 forks source link

Intermediate Data Structures Activity 1 Linked Lists #13

Open MarcoBrian opened 4 years ago

MarcoBrian commented 4 years ago

1 md "In practice, some insertions cost more. If the list initially allocates enough space for six nodes, inserting a seventh means the list has to double its space (up to 12)." - I think this line needs more context in regarding the situation on what is happening. Additional information and example about how this happens in specific language could give a better understanding. I also think that placing this information at the beginning of a linked list introduction also might be confusing for someone new.

3 md I think it will be great if we mention that the insert function belongs to the LinkedList class. It wasnt mentioned which class this function belongs to, but it will make it less ambiguous for beginners that the insert function should belong to the LinkedList class and not the Node class. It might be good to mention it in the beginning, although it might be obvious in the upcoming lessons.

Also for this activity, the images are not displayed correctly

MarcoBrian commented 4 years ago

@kavuong