-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added minimum swap to sort #54
Added minimum swap to sort #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @vinayassrao,
everything looks good to me except for one thing. In the main function, you should not hard code the values of the array. Kindly take the input from the user.
@Sargam-Agarwal requested changes has been made,please review it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @vinayassrao
Just do proper indentation in the swap and main function. Rest is all good now 👍
@Sargam-Agarwal requested changes has been made,please review it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @vinayassrao
LGTM!
Please check the following PR request for the issue #32