![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
A sorting algorithm is an algorithm that places the list elements in a certain order. Efficient sorting is critical for maximizing the performance of other algorithms that enable input data to be stored in sorted lists.
This package will help user to get the results of few sorting algorithms(will be updated in future).
pip install SortingAlgorithms
First, use the above command to install the package. The package includes a few algorithms that can be used either to understand the working condition or to complete the goal by using a sorting algorithm.
Below is a brief example of how the package will be used to accomplish the goal.
from SortingAlgorithms import Algorithms as algo
data = [22, 5, 34, 12, 90, 33]
print(algo.bubbleSort(array= data, ascending= True, steps= True))
Output:-
step 1:-
j = 0 : [22, 5, 34, 12, 90, 33]
Swapping: 5 with 22
j = 1 : [5, 22, 34, 12, 90, 33]
j = 2 : [5, 22, 34, 12, 90, 33]
Swapping: 12 with 34
j = 3 : [5, 22, 12, 34, 90, 33]
j = 4 : [5, 22, 12, 34, 90, 33]
Swapping: 33 with 90
step 2:-
j = 0 : [5, 22, 12, 34, 33, 90]
j = 1 : [5, 22, 12, 34, 33, 90]
Swapping: 12 with 22
j = 2 : [5, 12, 22, 34, 33, 90]
j = 3 : [5, 12, 22, 34, 33, 90]
Swapping: 33 with 34
step 3:-
j = 0 : [5, 12, 22, 33, 34, 90]
j = 1 : [5, 12, 22, 33, 34, 90]
j = 2 : [5, 12, 22, 33, 34, 90]
step 4:-
j = 0 : [5, 12, 22, 33, 34, 90]
j = 1 : [5, 12, 22, 33, 34, 90]
step 5:-
j = 0 : [5, 12, 22, 33, 34, 90]
step 6:-
[5, 12, 22, 33, 34, 90]
The parameters which user can use while calling the functions are:
© 2021 Abhishek Tripathi
This repository is licensed under the MIT license. See LICENSE for details.
FAQs
This package will help user to get the results of few sorting algorithms.
We found that SortingAlgorithms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.