Author: Unknown
Subject: Penalty for not ordering the triples
Date: Thursday, 16 Apr 2020, 07:03:48
Hi, I am just wondering what's the penalty be for not ordering the triples in the secondary array by their positions? I understand it will slow down the search. Will the program fail many of the private tests because of slow time due to long searches> If I am using a 2D array, just an array of triple array, I am not sure how to efficiently moving struct triples? I can think of creating a new empty triple array and copying the triples in, but that seems really slow. Any suggestions?PREV INDEX NEXT