diff --git a/README.md b/README.md index debb56b..420634a 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,21 @@ Create a function that receives an integers array and returns the number that ap | (1,1,2) | 2 | | (2,2,1) | 1 | +answes : +func retriveNum (aray: [Int]){ + for i in 0.. Bool{ + var check = false + if text.contains("}{"){ + return false + } + else if text.count % 2 != 0{ + return false + } + return true +} +brac(text: "}{}")