-
Notifications
You must be signed in to change notification settings - Fork 42
Added post for Insertion sort #41
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
base: main
Are you sure you want to change the base?
Conversation
_posts/2021-10-04-insertion-sort.md
Outdated
| description: "Insertion sort is a simple sorting technique. Here in this post, first we will see the algorithm, then we will see an example of its working, we will also have a look on its implementation in C++ language, then in the last we will discuss its other characteristics." | ||
| category: dsa | ||
| image: /assets/images/categories/algorithm.jpg | ||
| keywords: # Keywords your want to ad for SEO |
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.
'Keywords your want to an ad for SEO' (remove this line and directly start with your keywords)
| - dsa | ||
| ---- | ||
|
|
||
| ## Insertion Sort |
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.
leave one line after the sub-headings i.e leave one line after ## Insertion Sort heading and follow it for every sub-heading
_posts/2021-10-04-insertion-sort.md
Outdated
| The worst case time complexity of Insertion sort is O(n^2). | ||
| The average case time complexity of Insertion sort is O(n^2) | ||
| The best case time complexity of Insertion sort is O(n). | ||
| Insertion sort takes minimum timw when the arrray is already sorted. |
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.
time*
| The extra space required by the insertion sort is constant i.e., O(1). | ||
|
|
||
|
|
||
|
|
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.
Leave one line after every sub-heading and you can probably add some pictures demonstrating the above example to make the blog look more intuitive if possible
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.
Leave one line after every sub-heading and you can probably add some pictures demonstrating the above example to make the blog look more intuitive if possible
@Ruchip16 Will I have to create arrays for demonstration using graphics or I can take any image from google ?
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.
@Ruchip16 ! Please review the requested changes in my PR.
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.
Yeah, you can take images from google. Just make sure to add credits.
|
@TD-17 would you also mind adding an author by your handle. |
Done |
@Ruchip16 @LoopThrough-i-j Please review the requested changes. |
|
@TD-17 this looks good to me, can you also update the authors in the config file, I will get this merged. |
niyoj
left a comment
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.
I think you should update yourself in author section of _config.yml too. It will show your author section properly in the blog post. More reference can be found from this link.
No description provided.