# Problem 27

## Description

This problem was asked by Facebook.

Given a string of round, curly, and square open and closing brackets, return whether the brackets are balanced (well-formed).

For example, given the string `([])[]({})`, you should return true.

Given the string `([)]` or `((()`, you should return false.

## Solutions

參考 leet code

https://leetcode.com/problems/valid-parentheses/

假設題目如下

```kotlin
class Solution {
    fun isValid(s: String): Boolean {
    }
}
```

[參考解法](./kotlin/027.md)
