Hi Guys,
I need to delete elements that are "off the curve" from an array.
Example:
-10
-11
-12
-10
0 (Delete This value)
-9
-13
Hi Guys,
I need to delete elements that are "off the curve" from an array.
Example:
-10
-11
-12
-10
0 (Delete This value)
-9
-13
You have to shift all the elements with indexes greater than the deleted element to fill the gap. If you want the ability to simply remove an element, without needing to move the others, you'll need a linked list.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
I was assuming he meant how to determine which element(s) to remove, not how to remove them. Something like curve fitting or outlier detection.
Thanks Algorism,
Exactly what I need