From charlesreid1

No edit summary
No edit summary
Line 4: Line 4:


==Goodrich Chapter 6==
==Goodrich Chapter 6==
=Implementations=
Stacks and queues can be implemented using various implementations:
* fixed/variable size
* contiguous/linked memory structure (array list vs linked list)
* singly/circular/doubly linked lists
* size of lists, size of objects and pointers
measurement/profiling of Java code for memory and performance, timing, etc.
* inputs X, outputs Y, with timing/profiling.


=Flags=
=Flags=

Revision as of 06:59, 3 June 2017

Notes

Stacks and Queues in Java are implemented as part of the Collections library. Also implemented are Deques and priority queues.

Goodrich Chapter 6

Implementations

Stacks and queues can be implemented using various implementations:

  • fixed/variable size
  • contiguous/linked memory structure (array list vs linked list)
  • singly/circular/doubly linked lists
  • size of lists, size of objects and pointers

measurement/profiling of Java code for memory and performance, timing, etc.

  • inputs X, outputs Y, with timing/profiling.

Flags