Algorithm/BOJ 16

[BOJ] 9012 괄호

황소영님 블로그 참고했습니다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study10 { class App { //생성자 public App() { string[] arr = { "(())())", "(((()())()", "(()())((()))", "((()()(()))(((())))()", "()()()()(()()())()", "(()((())()(" }; //여기서부터 코드 작성 Stack stack = new Stack(); //Stack 인스턴스 생성 for (int i = 0; i < arr.Length; i..

Algorithm/BOJ 2023.01.11