Skip to content

Commit

Permalink
add ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbnjmn committed Jul 25, 2017
1 parent b3e0ddd commit efbc84a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Two-Sum Problem/Solution 1/2Sum.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//: Playground - noun: a place where people can play
// Last checked with: Version 9.0 beta 4 (9M189t)
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

func twoSumProblem(_ a: [Int], k: Int) -> ((Int, Int))? {
var map = [Int: Int]()
Expand Down
3 changes: 3 additions & 0 deletions Two-Sum Problem/Solution 2/2Sum.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//: Playground - noun: a place where people can play
// Last checked with: Version 9.0 beta 4 (9M189t)
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

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

This file was deleted.

0 comments on commit efbc84a

Please sign in to comment.