Dictionaries & Sets in C#: interview exercises

Dictionaries & Sets in C#: 6 test-checked interview exercises (Count words, Invert keys and values), each beside a worked example, with tests as you go. Free.

  1. Count words
  2. Invert keys and values
  3. Get by dotted path
  4. Merge with defaults
  5. Set operations
  6. Top k most frequent

Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Interview mode hides the example: solve it from memory, without the hint or the solution, and it counts as solved cold. Progress is saved in your browser, and in your account if you sign in.

More C# topics

All C# exercises ยท Other languages and frameworks