What are the 4 basic operations in Data Structures?

Updated: Oct 9

If you want to understand the performance of any data structure, you need to analyze the common ways our code might interact with the data structure.


Let's remember "RSID" Operations, stands for Read Search Insert Delete


Now, think about, what you can do with the following list (an array):


friendsOfPrashant = ['Rohit', 'Tinkal', 'Sachin']


Can you read the list? Yes

Can you Search on the list? Yes

Can you insert a new element into this list? Yes

Can you delete an element from this list? Yes


Check out What is Array?

Check out Time Complexity


Related Posts

See All

The topic "DSA" is not a Rocket-Science but can do revolutionary things when implemented properly ‎️‍🔥‎️‍🔥‎️‍🔥 To learn DSA you need to first understand the following things 👇 - Understand how pro

Subscribe

Thanks for submitting!