Skip to content

Added Program for 'Sorting Array (Without using Functions)'#598

Open
Manasi2001 wants to merge 1 commit into
Developer-Student-Clubs-VSSUT-Burla:mainfrom
Manasi2001:issue-504
Open

Added Program for 'Sorting Array (Without using Functions)'#598
Manasi2001 wants to merge 1 commit into
Developer-Student-Clubs-VSSUT-Burla:mainfrom
Manasi2001:issue-504

Conversation

@Manasi2001

Copy link
Copy Markdown
Contributor

This PR is with reference to issue #504.

@Sin-Sumit Sin-Sumit left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This code is totally wrong:

  1. You are a python < 3 where splitting of list is simple write as 'a=list(map(int,input().split())'.
  2. You are using the same variable 'i' in both the for loop which is an error.
  3. You are trying to implement the insertion sort but it doesn't seems good please take several cases where you will find your code wrong.
  4. Try to write in good format as you can find on many websites.

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