by equalunique · 8y ago · 0 comments
At least building a binary search tree is O(n.log(n))... what they were solving is NP hard (for the optimal solution).