w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Choosing a suitable data structure

For the matrices, you could just use arrays, and probably make a class Matrix to abstract away what the matrix is actually made of. For the storage of the objects, use a matrix of List<WhateverKindOfObjectYouAreConstructing>s. You can then quickly find the list for a given entry, and then quickly iterate through it.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.