moonscode

    brackets 1

    문제 // Codility // Stacks and Queues // Brackets

    업데이트 :: 2018.08.23 문제코드결과문제Stacks and Queues > Brackets Determine whether a given string of parentheses (multiple types) is properly nested. 코드1차 풀이import java.util.*; class Solution { public int solution(String S) { if(S.equals("")) return 1; int count = 0; int flag = 0; // () 0, {} 1, [] 2 Stack stack = new Stack(); for(int i=0; i 0) { if(stack.pop() != 0) return 0; } else return 0; break; cas..

    CS/코딜리티 2018.08.23
    1
    더보기
    프로필사진

    hello world :)

    • moonscode (236)
      • 프로그래밍언어 (25)
        • Python (1)
        • JavaScript (24)
        • Java (0)
      • DevOps (40)
        • MacOS (8)
        • Web (6)
        • Git (13)
        • VSCode (1)
        • JetBrains (9)
        • Browser (2)
      • FrontEnd (8)
        • TypeScript (2)
        • React (1)
        • NextJS (1)
        • Redux (4)
      • NodeJS (4)
      • Java (28)
        • Java 개념 (17)
        • Java 구현 (4)
        • JavaFX 개념 (4)
        • JavaFX 구현 (3)
      • Spring (51)
        • DI & AOP (16)
        • JDBC (6)
        • WEB (7)
        • MVC (10)
        • REST (5)
        • Security (2)
        • MyBatis (5)
      • Server (1)
        • AWS (1)
      • DB (12)
        • MySQL (12)
        • SQL (0)
        • SQL (advanced) (0)
      • CS (63)
        • 자료구조 문제 (30)
        • 자료구조 구현 (2)
        • 코딜리티 (15)
        • 프로그래머스 (15)
      • 개인 (1)
        • 노트 (1)
        • iOS (0)

    Tag

    MVC, git, 자바스크립트, Spring, WEB, Counting Elements, aop, js, list, jdbc, 자료구조, Tree, mac, Rest, java, Di, codility, JavaScript, Bean, OSX,

    최근글과 인기글

    • 최근글
    • 인기글

    최근댓글

    공지사항

    • FE - JS, TS, React, RxJS
    • BE - Spring & MSA

    페이스북 트위터 플러그인

    • Facebook
    • Twitter

    Archives

    Calendar

    «   2026/01   »
    일 월 화 수 목 금 토
    1 2 3
    4 5 6 7 8 9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31

    방문자수Total

    • Today :
    • Yesterday :

    Copyright © Kakao Corp. All rights reserved.

    티스토리툴바