Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 460 Bytes

Ex_1_3_14.md

File metadata and controls

27 lines (17 loc) · 460 Bytes
title date draft tags categories
Algorithm4 Java Solution 1.3.14
2019-07-04 05:47:10 +0800
false
JAVA
TECH
archives

1.3.14

Problem:

Develop a class ResizingArrayQueueOfStrings that implements the queue abstraction with a fixed-size array, and then extend your implementation to use array resizing to remove the size restriction.

Solution:

  1. we use a Circular queue.

  2. resize array when needed.

Reference: