|
|
|
|
|
by hcnews
1051 days ago
|
|
It's not O(N^2) is it? It can be a continuous line of ice being pushed up. Depending on the weight bearing ability of the lift and digging capacity, you would figure out a fixed distance after which you would place the buckets to carry up the ice. 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.