You are viewing a single comment's thread. Return to all comments →
Swift one-liner
func introTutorial(V: Int, arr: [Int]) -> Int { return arr.firstIndex(of: V)! }
Seems like cookies are disabled on this browser, please enable them to open this website
Intro to Tutorial Challenges
You are viewing a single comment's thread. Return to all comments →
Swift one-liner