From 1c4f20b1d006b85a9a357793c1828a4a0a328065 Mon Sep 17 00:00:00 2001 From: HubbleJo Date: Sat, 6 Oct 2018 21:47:43 +0200 Subject: [PATCH] Added my name and a piece of code --- README.md | 20 +++++++++++++------- code/sort.js | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 code/sort.js diff --git a/README.md b/README.md index 06ba005..d5c6ccd 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - I'm currently working as a Virtualization Specialist - [![twitter-alt][twitter-img]](https://twitter.com/ankso) [![github-alt][github-img]](https://github.com/anksos) - + ### Angel Pink - I'm a software engineer. - [![github-alt][github-img]](https://github.com/pinkangelin4u) @@ -176,7 +176,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU ### Arjun Rajpal - Software Engineer and a ML Enthusiast - [![github-alt][github-img]](https://github.com/arjunrajpal) - + ### Ashmita Sharma - Grad Student - OpenSource Enthusiast @@ -399,7 +399,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - Open Source Enthusiast - [![twitter-alt][twitter-img]](https://twitter.com/Hammad_Lari) [![github-alt][github-img]](https://github.com/hammadmashkoor) - + ### haqqer - Python Programmer and Web BackEnd Dev - college students, Open Source Enthusiast @@ -430,6 +430,12 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - Interests: Machine learning - [![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 ### IGC @@ -483,7 +489,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - and cats. - [![github-alt][github-img]](https://github.com/jcbrown602) [![freeCodeCamp](imgs/freecodecamp.png)](https://www.freecodecamp.org/jcbrown602) - + ### Jason McCutchan - Fullstack Javascript Developer - Bootcamp Grad -> Currently @ TDSecurities @@ -587,7 +593,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - I like movies, series, electronic games, board games, RPG and beer. - [![twitter-alt][twitter-img]](https://twitter.com/Magno_Macedo89) [![github-alt][github-img]](https://github.com/magnoDev) - + ### Manthan Keim - Bachelor student in Computer Science Engineering at MAIT. - I like movies, TV-series,reading books and listening songs. @@ -807,7 +813,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU ### Rui Min Sim - recent CS grad teaching at The Coding Space - :fuelpump::coffee: -- :heart: :video_game:[survivio](http://surviv.io/) +- :heart: :video_game:[survivio](http://surviv.io/) - [![twitter-alt][twitter-img]](https://twitter.com/ruiminsim) [![github-alt][github-img]](https://github.com/rmsim) @@ -936,7 +942,7 @@ Please note that this project is released with a [Code of Conduct](CODE_OF_CONDU - [![github-alt][github-img]](https://github.com/uds5501) ### Uğur Soğukpınar -* Backend Developer +* Backend Developer * Interested in Machine Learning, Deep Learning, AI - [![github-alt][github-img]](https://github.com/ugursogukpinar) - [![twitter-alt][twitter-img]](https://twitter.com/sogukpinarugur) diff --git a/code/sort.js b/code/sort.js new file mode 100644 index 0000000..1fba239 --- /dev/null +++ b/code/sort.js @@ -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 +}