Skip to content

Commit 7590122

Browse files
authored
Remove extraneous indentation in README.md (#86)
1 parent 9006ea9 commit 7590122

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

README.md

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -19,67 +19,67 @@ The `SortingAlgorithms` package provides four sorting algorithms that can be use
1919
## Usage
2020

2121
```jl
22-
julia> using SortingAlgorithms
22+
julia> using SortingAlgorithms
2323

24-
julia> words = map(chomp,[readlines(open("/usr/share/dict/words"))...])
25-
235886-element Array{ASCIIString,1}:
26-
"A"
27-
"a"
28-
"aa"
29-
30-
"zythum"
31-
"Zyzomys"
32-
"Zyzzogeton"
24+
julia> words = map(chomp,[readlines(open("/usr/share/dict/words"))...])
25+
235886-element Array{ASCIIString,1}:
26+
"A"
27+
"a"
28+
"aa"
29+
30+
"zythum"
31+
"Zyzomys"
32+
"Zyzzogeton"
3333

34-
julia> sort!(words, alg=TimSort)
35-
235886-element Array{ASCIIString,1}:
36-
"A"
37-
"Aani"
38-
"Aaron"
39-
40-
"zymurgy"
41-
"zythem"
42-
"zythum"
34+
julia> sort!(words, alg=TimSort)
35+
235886-element Array{ASCIIString,1}:
36+
"A"
37+
"Aani"
38+
"Aaron"
39+
40+
"zymurgy"
41+
"zythem"
42+
"zythum"
4343

44-
julia> sort!(words, alg=TimSort, by=length)
45-
235886-element Array{ASCIIString,1}:
46-
"A"
47-
"B"
48-
"C"
49-
50-
"scientificophilosophical"
51-
"tetraiodophenolphthalein"
52-
"thyroparathyroidectomize"
44+
julia> sort!(words, alg=TimSort, by=length)
45+
235886-element Array{ASCIIString,1}:
46+
"A"
47+
"B"
48+
"C"
49+
50+
"scientificophilosophical"
51+
"tetraiodophenolphthalein"
52+
"thyroparathyroidectomize"
5353

54-
julia> sort!(words, alg=HeapSort)
55-
235886-element Array{ASCIIString,1}:
56-
"A"
57-
"Aani"
58-
"Aaron"
59-
60-
"zymurgy"
61-
"zythem"
62-
"zythum"
54+
julia> sort!(words, alg=HeapSort)
55+
235886-element Array{ASCIIString,1}:
56+
"A"
57+
"Aani"
58+
"Aaron"
59+
60+
"zymurgy"
61+
"zythem"
62+
"zythum"
6363

64-
julia> sort!(words, alg=HeapSort, by=length)
65-
235886-element Array{ASCIIString,1}:
66-
"L"
67-
"p"
68-
"U"
69-
70-
"scientificophilosophical"
71-
"tetraiodophenolphthalein"
72-
"thyroparathyroidectomize"
64+
julia> sort!(words, alg=HeapSort, by=length)
65+
235886-element Array{ASCIIString,1}:
66+
"L"
67+
"p"
68+
"U"
69+
70+
"scientificophilosophical"
71+
"tetraiodophenolphthalein"
72+
"thyroparathyroidectomize"
7373

74-
julia> sort!(randn(1000), alg=CombSort)
75-
1000-element Array{Float64,1}:
76-
-2.86255
77-
-2.72041
78-
-2.58234
79-
80-
3.15075
81-
3.20058
82-
3.23942
74+
julia> sort!(randn(1000), alg=CombSort)
75+
1000-element Array{Float64,1}:
76+
-2.86255
77+
-2.72041
78+
-2.58234
79+
80+
3.15075
81+
3.20058
82+
3.23942
8383
```
8484

8585
## Other packages that provide sorting algorithms

0 commit comments

Comments
 (0)