Skip to content

Deeeeksha/OOPS_Assignment-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOPS_Assignment-1

Make a trait Queue which performs two functions of enqueue and dequque.

  • Two classes: DoubleQueue and SquareQueue mix in this trait.
  • You may use List for the implementation and keep both the classes in the same file with proper packaging.

DoubleQueue enqueues the element after doubling them SquareQueue enqueues the element after squaring them dequeue method will remove the first element from the queue(having concrete definition in trait Queue).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages