bitwise scripts fixed

This commit is contained in:
Mari Wahl 2015-01-06 21:55:53 -05:00
parent 01703751f1
commit 91825867f6
25 changed files with 96 additions and 335 deletions

View file

@ -1,8 +1,6 @@
#!/usr/bin/python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
#!/usr/bin/env python
__author__ = "bt3"
def bubble_sort(seq):

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"

View file

@ -1,8 +1,6 @@
#!/usr/bin/python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
#!/usr/bin/env python
__author__ = "bt3"
def gnome_sort(seq):

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"
class Heap(object):

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"
''' Heapsort using Pythons libraries'''

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"

View file

@ -1,7 +1,7 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "bt3"
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"
''' Some examples of how to implement Quick Sort in Python

View file

@ -1,7 +1,6 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
__author__ = "bt3"
def selection_sort(seq):

View file

@ -1,7 +1,7 @@
#!/usr/bin/python
#!/usr/bin/env python
__author__ = "bt3"
__author__ = "Mari Wahl"
__email__ = "marina.w4hl@gmail.com"
''' A method to sort an array so that all the anagrams are together. Since we only
want the anagrams to be grouped, we can use a dictionary for this task. This