Who knew, drilling is O(N^2)
(you need to pull the drill out periodically to let the dust out, and the distance of that pull increases with depth. But it is O(K1 * N^2 + K2 * N) where K1/K2 are pull-out and drilling-in (both seconds per mm), and for short holes most of the time will be drilling not removing dust.
Its an interesting interview question at the very least. (More complications arise as and how you get deeper into the ice).
Drilling the core itself is O(N), but as you go deeper the core retrieval dominates. Not to mention everything getting more complex the deeper you go.