스택/큐(2)
-
[프로그래머스] 올바른 괄호
using System; using System.Collections.Generic; public class Solution { public bool solution(string s) { //bool answer = true; Stack stack = new Stack(); try{ for(int i=0; i
2023.03.26 -
[프로그래머스] 기능개발
using System; public class Solution { public int[] solution(int[] progresses, int[] speeds) { int[] answer = new int[] {}; int[] days = new int[progresses.Length]; for(int i=0; i
2023.03.26