Jim and the Challenge

  • + 2 comments

    If the time complexity of calculating U and V is O(n), then the time complexity for calculating 1 dimension is O(n^2) which means the time complexity on the whole is O(dn^2). Your editorial seems to be incorrect.