Purchase Solution

data structure

Not what you're looking for?

Ask Custom Question

Which data structure (i.e. array based list or linked list) is the optimum one for following problems?

- Read only look-up table

- Class roster

- When lots of inserts & deletes are involved

- When you have no clue about how big the list will grow.

Purchase this Solution

Solution Summary

The solution discusses which data structure (i.e. array based list or linked list) is the optimum one for following problems.

Solution Preview

Read only look-up table:
Since there are no insertion or deletion involved, you can read both an array and a list in O(n) time for n inputs. However, a special version of arrays are hash tables which ...

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Javscript Basics

Quiz on basics of javascript programming language.