For the n dimensional case it would be better to say that x and y lie on opposite vertices of the n-hypercuboid such that each edge is parallel to a coordinate axis.
nice trick :)
990 Solvers
Find the stride of the longest skip sequence
107 Solvers
Similar Triangles - find the height of the tree
208 Solvers
Back to basics 23 - Triangular matrix
647 Solvers
244 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!