Skip to content

Commit efbc84a

Browse files
committed
add ifdef
1 parent b3e0ddd commit efbc84a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Two-Sum Problem/Solution 1/2Sum.playground/Contents.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//: Playground - noun: a place where people can play
22
// Last checked with: Version 9.0 beta 4 (9M189t)
3+
#if swift(>=4.0)
4+
print("Hello, Swift 4!")
5+
#endif
36

47
func twoSumProblem(_ a: [Int], k: Int) -> ((Int, Int))? {
58
var map = [Int: Int]()

Two-Sum Problem/Solution 2/2Sum.playground/Contents.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//: Playground - noun: a place where people can play
22
// Last checked with: Version 9.0 beta 4 (9M189t)
3+
#if swift(>=4.0)
4+
print("Hello, Swift 4!")
5+
#endif
36

47
func twoSumProblem(_ a: [Int], k: Int) -> ((Int, Int))? {
58
var i = 0

Two-Sum Problem/Solution 2/2Sum.playground/timeline.xctimeline

-6
This file was deleted.

0 commit comments

Comments
 (0)