Skip to content

Fixed the code so as to return the last element as well when the list…#4

Open
gamebusterz wants to merge 1 commit intoswartzrock:masterfrom
gamebusterz:master
Open

Fixed the code so as to return the last element as well when the list…#4
gamebusterz wants to merge 1 commit intoswartzrock:masterfrom
gamebusterz:master

Conversation

@gamebusterz
Copy link
Copy Markdown

…'s length is passed as an argument.
The last element was not returned when the size of the List was passed as count argument. This problem did not occur when the count was less than the size of the List

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