• + 1 comment

    Thats n^3, Why not to store a.Max/b.Min and other such stuff once got so that their compute does not repeat.