Skip to content

Commit

Permalink
Adding suraj44 participant details (pclubuiet#32)
Browse files Browse the repository at this point in the history
* Adding suraj44 participant details

* Adding bubblesort in Python
  • Loading branch information
suraj44 authored and sbshah97 committed Oct 4, 2017
1 parent 9533756 commit 9ef8b27
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BubbleSort/suraj44.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
def bubblesort(L):
l = len(L)
swap = 1
i = 0
while(swap!= 0):
swap = 0
for j in range(i,l):
if L[j-1] > L[j]:
L[j],L[j-1] = L[j-1], L[j]
swap+=1

i+=1
return L


6 changes: 6 additions & 0 deletions Participants/suraj44.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Name: Suraj Singh
GitHub Username: suraj44
Degree and Year: 2nd Year, B. Tech
Department: Computer Engineering

Interests: Machine Learning and Data Science

0 comments on commit 9ef8b27

Please sign in to comment.