- M&C1: Confusing the index and the content
- M&C2: Assuming that all list elements must be accessed
- M&C3: Using an index lying outside the list (typically an off-by-1 error)
- M&C4: Overwriting values in a swap operation
- M&C5: One-off errors in slicing
- M&C6: Misunderstanding immutability
- M&C7: Differences and similarities between Lists, Tuples, and Arrays
- M&C8: Incorrect use of strings, integers, and variable names
- M&C9: A list can contain a list?
- M&C10: Does every language allow negative indices for lists and strings?
- M&C11: Print multiple-line strings
Data Structures – Student M&Cs
Listed below are Student Misconceptions and Challenges about Data Structures.
The icon in the hover-over text means there are video(s) included in the post.