Skip to content

Created a function rotation to made the rotation of an array #53 and #52 - #82

Merged
akshitagupta15june merged 1 commit into
akshitagit:masterfrom
nathzz30:rotateToRightArray
Oct 15, 2020
Merged

akshitagupta15june merged 1 commit into
akshitagit:masterfrom
nathzz30:rotateToRightArray

Conversation

@nathzz30

@nathzz30 nathzz30 commented Oct 1, 2020 •

Copy link
Copy Markdown
Contributor

This PR is created to present a function that made the rotation of the elements inside an array. To accomplish this was necessary create a function that admit and array, a number that counts the elements to rotate, and the third one is the direction of the rotation. Also was used JsDocs to document the function and the parameters that are necessary.

The function is called rotation, the parameters are called like this rotation(array, number, direction). Direction parameter is a string that can be right or left.

This PR resolve this two issues #52 and #53.

@nathzz30 nathzz30 changed the title Created a function rotation to made the rotation of an array Created a function rotation to made the rotation of an array #53 and #52 Oct 1, 2020
@akshitagupta15june
akshitagupta15june merged commit 4dff73a into akshitagit:master Oct 15, 2020
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.

2 participants