Skip to content

Commit 5238f22

Browse files
took off an extra min
1 parent b2bc31b commit 5238f22

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Selection Sampling/SelectionSampling.playground/Contents.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import Foundation
44

55
/* Returns a random integer in the range min...max, inclusive. */
6-
public func random(min min: Int, max: Int) -> Int {
6+
public func random(min: Int, max: Int) -> Int {
77
assert(min < max)
88
return min + Int(arc4random_uniform(UInt32(max - min + 1)))
99
}
@@ -45,7 +45,6 @@ func select<T>(from a: [T], count requested: Int) -> [T] {
4545
}
4646

4747

48-
4948
let poem = [
5049
"there", "once", "was", "a", "man", "from", "nantucket",
5150
"who", "kept", "all", "of", "his", "cash", "in", "a", "bucket",

Selection Sampling/SelectionSampling.playground/timeline.xctimeline

-6
This file was deleted.

0 commit comments

Comments
 (0)