Like for example {}[{()}] $ \in$B, but {( $ \notin $ B. We have these brackets available: {}()[].
I dont know how to do this since i cant come up with a base case and the induction case. Most of the times there was something like n, or something with numbers. How to give the recursive definition of this set?
You can build any matched string by concatenating two matched strings or by putting a matched set of brackets around a matched string. The base case is the empty string.