cunning0fdesires / abstractqueueofpoints-1d-2d- Goto Github PK
View Code? Open in Web Editor NEWThis is a program containing two child implementations of an abstract class, which models an array of points (each point index containing two coordinates, x & y). One implementation utilises a 2D matrix internally, and the other stores each pair of points as two consecutive indices in a one-dimensional array