Skip to content

Changes in Queue. #150

Closed
Closed
@HarsheetKakar

Description

@HarsheetKakar

Description of the problem

Queue module needs some refactoring.

  • Queue methods are generally enqueue() and dequeue()
  • front and rear pointers need to be properties because of their frequent change.
  • type(x) is not self._dtype can be converted to _check_type(type(x),self._dtype)

This issue was briefly discussed in #139 (comment)

Further suggestions are welcome.

I will be taking on this issue, since I'm also working on LinkedListStack side by side.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions