Skip to content

Commit 6cc8076

Browse files
authored
Merge pull request #813 from nisarhassan12/master
Lowers the barrier and friction for contributions and learning
2 parents d6fda6f + 9994a6a commit 6cc8076

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
NOTE: A [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch is made for this repo where we are trying to migrate the existing project to a Java project structure. You can switch to [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch for contributions. Please refer [this issue](https://github.com/TheAlgorithms/Java/issues/474) for more info.
66

7+
You can playaround (run and edit) the Algorithms or contribute to them using Gitpod.io a free online dev environment with a single click. No need to worry about the Dev enviroment.
8+
9+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/TheAlgorithms/Java)
10+
11+
712
### All algorithms implemented in Java (for education)
813

914
These are for demonstration purposes only. There are many implementations of sorts in the Java standard library that are much better for performance reasons.
@@ -28,7 +33,7 @@ __Properties__
2833
### Insertion
2934
![alt text][insertion-image]
3035

31-
From [Wikipedia][insertion-wiki]: Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort.
36+
From [Wikipedia][insertion-wiki]: Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort.
3237
In the figure, each bar represents an element of an array that needs to be sorted. What happens at the first intersection of the top most and second top most bars is to swap these elements, represented by bars, because the second element has a higher precedence than the first element does. By repeating this method, insertion sort completes sorting.
3338

3439
__Properties__
@@ -121,7 +126,7 @@ __Properties__
121126
* Worst case performance O(log n)
122127
* Best case performance O(1)
123128
* Average case performance O(log n)
124-
* Worst case space complexity O(1)
129+
* Worst case space complexity O(1)
125130

126131
##### View the algorithm in [action][binary-tutorialspoint]
127132

0 commit comments

Comments
 (0)