I have read many different threads about how it is not possible to delete values from an array, but I need to find some way to do this.
I am making a program that involves a bottom up approach algorithm where it pairs off data segments, finds the best segments to merge and then merges them. I have it telling me which segments it should merge but then to merge them I need to be able to go in a remove certain values from that array. I can find them by the index or actual value I suppose.
and I need to remove 4 and 5 and then send the array back through all my functions.