Merge pull request #200 from HubbleJo/master

Added my name and a piece of code
This commit is contained in:
Josh Cunningham 2018-10-09 08:15:04 -07:00 committed by GitHub
commit 849b2d0a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 5 deletions

View File

@ -251,12 +251,10 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU
- [![facebook-alt][facebook-img]](https://facebook.com/arisdolanan) - [![facebook-alt][facebook-img]](https://facebook.com/arisdolanan)
### Arjun Rajpal ### Arjun Rajpal
- Software Engineer and a ML Enthusiast
- Software Engineer and a ML Enthusiast - [![github-alt][github-img]](https://github.com/arjunrajpal)
- [![github-alt][github-img]](https://github.com/arjunrajpal)
### ASHKUSH ### ASHKUSH
- Undergrad 2nd year CS student - Undergrad 2nd year CS student
- Open Source contributor - Open Source contributor
- [![github-alt][github-img]](https://github.com/ashkush21) - [![github-alt][github-img]](https://github.com/ashkush21)
@ -643,6 +641,13 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU
- Interests: Machine learning - Interests: Machine learning
- [![github-alt][github-img]](https://github.com/longhai18) - [![github-alt][github-img]](https://github.com/longhai18)
### HubbleJo
- Student from Germany
- Really likes Kotlin
- Also interested in electronics and artificial Intelligence
- [![github-alt][github-img]](https://github.com/hubblejo)
# I # I
### Icaro Lima ### Icaro Lima
@ -1551,7 +1556,6 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU
- [![github-alt][github-img]](https://github.com/uds5501) - [![github-alt][github-img]](https://github.com/uds5501)
### Uğur Soğukpınar ### Uğur Soğukpınar
- Backend Developer - Backend Developer
- Interested in Machine Learning, Deep Learning, AI - Interested in Machine Learning, Deep Learning, AI
- [![github-alt][github-img]](https://github.com/ugursogukpinar) - [![github-alt][github-img]](https://github.com/ugursogukpinar)

22
code/sort.js Normal file
View File

@ -0,0 +1,22 @@
function (arr) {
function swap(i, j) {
let temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
let n = arr.length;
let sw = true;
let x = 0;
while (sw) {
sw = false;
x = x + 1;
for (let i = 1;i<=(n-x);i++) {
if (arr[i - 1] > arr[i]) {
swap(i - 1, i);
sw = true;
}
}
}
return arr
}