aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/algorithms/impl
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-01 18:14:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-01 18:14:49 +0300
commit0fc56b96548151ee2d981449fe5c0115b040f457 (patch)
tree0aa40970b157b2ab37db5ec0a9abd528a3eb18d5 /algorithms/impl
parentcode style (diff)
downloadsorting-algorithms-0fc56b96548151ee2d981449fe5c0115b040f457.tar.gz
sorting-algorithms-0fc56b96548151ee2d981449fe5c0115b040f457.zip
fix licensing notices
Diffstat (limited to 'algorithms/impl')
-rw-r--r--algorithms/impl/__init__.py7
-rw-r--r--algorithms/impl/bubble_sort.py7
-rw-r--r--algorithms/impl/heapsort.py7
-rw-r--r--algorithms/impl/insertion_sort.py7
-rw-r--r--algorithms/impl/median.py7
-rw-r--r--algorithms/impl/merge_sort.py7
-rw-r--r--algorithms/impl/quicksort.py7
-rw-r--r--algorithms/impl/selection_sort.py7
8 files changed, 32 insertions, 24 deletions
diff --git a/algorithms/impl/__init__.py b/algorithms/impl/__init__.py
index dcb8fc4..579b091 100644
--- a/algorithms/impl/__init__.py
+++ b/algorithms/impl/__init__.py
@@ -1,6 +1,7 @@
-# Copyright 2016 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
from importlib import import_module
import os.path
diff --git a/algorithms/impl/bubble_sort.py b/algorithms/impl/bubble_sort.py
index e6aa645..e75ceab 100644
--- a/algorithms/impl/bubble_sort.py
+++ b/algorithms/impl/bubble_sort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
import sys
diff --git a/algorithms/impl/heapsort.py b/algorithms/impl/heapsort.py
index c92a04c..6615e14 100644
--- a/algorithms/impl/heapsort.py
+++ b/algorithms/impl/heapsort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
import sys
diff --git a/algorithms/impl/insertion_sort.py b/algorithms/impl/insertion_sort.py
index 006ab66..d02b970 100644
--- a/algorithms/impl/insertion_sort.py
+++ b/algorithms/impl/insertion_sort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
import sys
diff --git a/algorithms/impl/median.py b/algorithms/impl/median.py
index e6b9901..d19dec4 100644
--- a/algorithms/impl/median.py
+++ b/algorithms/impl/median.py
@@ -1,6 +1,7 @@
-# Copyright 2016 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
from heapq import heappush, heappop
import sys
diff --git a/algorithms/impl/merge_sort.py b/algorithms/impl/merge_sort.py
index 8d0b573..3dd2bb9 100644
--- a/algorithms/impl/merge_sort.py
+++ b/algorithms/impl/merge_sort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
import sys
diff --git a/algorithms/impl/quicksort.py b/algorithms/impl/quicksort.py
index 9230187..3c4715a 100644
--- a/algorithms/impl/quicksort.py
+++ b/algorithms/impl/quicksort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
from random import randrange, seed
import sys
diff --git a/algorithms/impl/selection_sort.py b/algorithms/impl/selection_sort.py
index d5d11d2..0dbf4eb 100644
--- a/algorithms/impl/selection_sort.py
+++ b/algorithms/impl/selection_sort.py
@@ -1,6 +1,7 @@
-# Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
-# This file is licensed under the terms of the MIT License.
-# See LICENSE.txt for details.
+# Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
+# This file is part of the "Sorting algorithms" project.
+# For details, see https://github.com/egor-tensin/sorting-algorithms.
+# Distributed under the MIT License.
import sys