Skip to content

Commit 38e2fd3

Browse files
Merge pull request #4 from amirallami-code/amirallami-code-patch-2
make algorithm gif center
2 parents 5c4e58d + f6d5331 commit 38e2fd3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@ Selection Sort is an in-place comparison-based algorithm that divides the input
3434

3535
The algorithm repeatedly selects the smallest (or largest) element from the unsorted portion and moves it to the end of the sorted portion.
3636

37-
![Selection Sorting Algorithm](assets/algorithm-animation.gif)
38-
[GIF Reference](https://youtu.be/kPRA0W1kECg?si=VhbgKEH0BB6uqjTQ)
37+
<p align="center">
38+
<img width="750" height="auto" src="assets/algorithm-animation.gif">
39+
</p>
40+
41+
<div align="center">
42+
<a href="https://youtu.be/kPRA0W1kECg?si=VhbgKEH0BB6uqjTQ">GIF Reference</a>
43+
</div>
3944

4045
### Advantages
4146
- Simple to understand and implement

0 commit comments

Comments
 (0)