Skip to content

I added size func. for some data structures#1045

Open
kerimsenturk5734 wants to merge 1 commit intotrekhleb:masterfrom
kerimsenturk5734:master
Open

I added size func. for some data structures#1045
kerimsenturk5734 wants to merge 1 commit intotrekhleb:masterfrom
kerimsenturk5734:master

Conversation

@kerimsenturk5734
Copy link

@kerimsenturk5734 kerimsenturk5734 commented Jun 25, 2023

I realized that we cannot access size of some structurest directly like stack, queue. We were have to access size by other objects like linkedlist.toArray().size. That is why i added size func. inside linkedlist using toArray func and i called size func. of linkedlist inside other structures.(stack, queue, doublylindkedlist.) Now we can directly access size inside data structures like stack and queue.

size() func. added for linkedlist, doublylinkedlist stack and queue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant