Skip to content

Added step count parameter#65

Merged
StaGlo merged 3 commits intomainfrom
step-count
Jan 11, 2024
Merged

Added step count parameter#65
StaGlo merged 3 commits intomainfrom
step-count

Conversation

@TetraField
Copy link
Copy Markdown
Collaborator

@TetraField TetraField commented Jan 9, 2024

Added step count parameter to the service and the endpoint. If the parameter is not specified, the algorithm will work until the end, otherwise it will perform X iterations, where X is the value of the step count. If the step count is higher than the size of the sorted data, the excess steps will be ignored. The parameter value can only be a non-negative integer.

added step count parameter to the input and sorting functions
changed default steps parameter value to null
@TetraField TetraField requested a review from Sazer54 January 9, 2024 18:40
Copy link
Copy Markdown
Collaborator

@Sazer54 Sazer54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as intended

@StaGlo
Copy link
Copy Markdown
Owner

StaGlo commented Jan 11, 2024

Confirm, merging

@StaGlo StaGlo merged commit fba22c8 into main Jan 11, 2024
@StaGlo StaGlo deleted the step-count branch January 11, 2024 19:17
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.

3 participants