46 ms·
But as the data structure's author they know next() is always complex. At least this way they win if the loop body is simple instead of always losing.
by lmz 1y ago
But as the data structure's author they know next() is always complex. At least this way they win if the loop body is simple instead of always losing.