You are viewing a single comment's thread. Return to all comments →
Swift Solution:
func handshake(n: Int) -> Int { return n*(n-1)/2 }
Seems like cookies are disabled on this browser, please enable them to open this website
Handshake
You are viewing a single comment's thread. Return to all comments →
Swift Solution: