2 ms·
If the first thing your solution does is attempt to read the entire file into memory, then you probably failed the test. The same goes for trying to read an ent
by userbinator 11y ago
If the first thing your solution does is attempt to read the entire file into memory, then you probably failed the test. The same goes for trying to read an entire line into memory, however long it may be - this is a problem that can be solved with an essentially constant space of around a dozen bytes.