HF RL Explorer

Task: Efficient Line Counting for Large Files in Python

Task: Efficient Line Counting for Large Files in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that counts the number of lines in a large file in the most memory-efficient and time-efficient manner possible. The solution must handle files of arbitrary size without…

Part of PrimeIntellect/Terminal-Lego-15k.