Practice test
Mutable Keys: Safe Hash-Collection Practice
Twelve focused questions on mutable keys, comparer state, shallow copies, failed lookup and guarded remove-change-reinsert operations. Review the explanation after each attempt. Use alongside lesson 3 of C# Equality and Hash Collections; allow about 25 minutes.
- Questions
- 12
- Time
- No limit
- Right answer
- +1
- Wrong answer
- 0
12 marks in all
This test comes with TechInterviewNotes Full Access
Unlock all paid content on TechInterviewNotes.
From the lesson Why Mutating Dictionary Keys Breaks Lookup in C#