/*
Write a method that takes in a string and checks for opening and closing brackets. Here are the requirements:
1. All opening brackets "[ ]" must have a closing bracket. There can be nested brackets as long as they are all closed at some point.
So valid cases would be:
[]
[[]]
Invalid would be:
][
[[]
2. Ignore other characters
For example these will be valid
test[test34s][tests]
3. The string does not have to start with a open bracket but the first bracket must be an open bracket
Valid:
this []
Invalid
this ] [] [
Good luck!
*/
using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
}