I have managed upto 3d array. Does anybody has the experience of managing 4d array or above? How is it? Is it similar to managing 3d array?
Any higher dimension array is going to be handled similiarly. It gets more confusing logically, the higher you go, just because it's harder to envision the structure. You know, if it's a 2D you can imagine it's a table, 3D a series of tables, but higher order it gets a little harder to imagine. Also, looping through higer dimension arrays adds a higher execution time to the program, 4D could be O(N^4).
What do you need to use a higher order array for? I can't imagine any situation where it makes sense to use one. I'm sure there is another data structure better suited to your needs
In physics 4D (and above) is used - a typical example is denoting somethings position in terms of height, depth, width & time
Hi, I wish who are not known about the higher sense of knowledge, would not comment about that knowledge. 3d array would not come to view if it has no use. It is easy to solve the problem of theory of relativity with 3d and 4d array. I do not know which data structure would be so easy to replace the 3d and 4d array in the relativity theory. Thanks for Comment