Checkpoint: Collections in Anger
Challenge on lesson: Checkpoint โ The Collection Toolkit
CHALLENGE
Difficulty: intermediate+25 XP
Implement the four tools described in the checkpoint:
``csharp
static IReadOnlyDictionary<string, int> Frequency(string text);
static string? FirstUnique(string text);
static string ProcessOrders(IEnumerable<string> commands);
public sealed class EvictCache
{
public EvictCache(int capacity);
public void Put(string key, int value);
public int Get(string key);
}
``
Press Submit to check your solution.
Back to lesson: Checkpoint โ The Collection Toolkit