---
title: "Discussion on \"アルゴ式: 890 Q6. 括弧列の対応関係 (2) (Swift)\" | Hashnode"
description: "Discussion on \"アルゴ式: 890 Q6. 括弧列の対応関係 (2) (Swift)\". Q6. 括弧列の対応関係 (2)\n\nスタックの問題という側面と、計算をクエリのたびにではなく、事前に終えておくという側面と\n実装は素直に\nずっとenumを作ってswitch文でやってきたけれど、たまにはシンプルにif分で\n\n提出\n\nAC"
url: "https://hashnode.com/posts/algo890-q6-matching-parenthesis-2-swift/626b6db57d5d27b992e4d074"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [アルゴ式: 890 Q6. 括弧列の対応関係 (2) (Swift)](https://continuous-tumbling.com/algo890-q6-matching-parenthesis-2-swift?utm_source=hashnode&utm_medium=feed)

Q6. 括弧列の対応関係 (2) スタックの問題という側面と、計算をクエリのたびにではなく、事前に終えておくという側面と 実装は素直に ずっとenumを作ってswitch文でやってきたけれど、たまにはシンプルにif分で 提出 AC

Apr 29, 2022 · 1 min read · continuous-tumbling.com  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Takeshi Suzuki](https://hashnode.com/@tockrock)

@tockrock · Kanagawa, Japan

  
[View profile](https://hashnode.com/@tockrock)

looking for things to do next

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
