HF RL Explorer

Task: HashSet vs. List Performance Break-Even Point Analysis in C

Task: HashSet vs. List Performance Break-Even Point Analysis in C: a task in Terminal-Lego-15k (Harbor dataset). Write a C console application that benchmarks HashSet<T vs List<T for element lookup (Contains) operations to determine the break-even point — the collection size at which HashSet<T…

The task

Write a C# console application that benchmarks `HashSet<T>` vs `List<T>` for element lookup (Contains) operations to determine the break-even point — the collection size at which `HashSet<T>` begins to outperform `List<T>` in search performance.

Part of PrimeIntellect/Terminal-Lego-15k.