Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Non-destructive and destructive
Such as modifying linked list or array list in java

What I have tried:

Non-destructive and destructive 
Such as modifying linked list or array list in java
Posted
Updated 16-May-20 10:49am
Comments
OriginalGriff 16-May-20 16:44pm    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

Destructive operations on a list would be those which modify an existing element, or which remove one.
Non-destructive operations would be those which insert new values, or which swap existing ones.
The question is quite unclear, and should be analyzed and treated in the context of some former knowledge which you did not provide. Maybe have a look into your java courses and see which operations on those data structures you are supposed to know by now?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900