---
title: "Discussion on \"アルゴ式: 887 Q5. 括弧列の対応関係 (1) (Swift)\" | Hashnode"
description: "Discussion on \"アルゴ式: 887 Q5. 括弧列の対応関係 (1) (Swift)\". Q5. 括弧列の対応関係 (1)\n\nスタックをイメージしつつ、深さを測るだけで良いので、スタックを使わずに解いてしまった\n最初、enumでCharacter指定ができなかったのと、配列にした方が解きやすいかなと思って提出\nその後、もう一度試したら結局何も問題なく解けた\nenumeratedを忘れがちだからいつでも引き出せるようになりたい\nparenthesisのスペルが覚えられない\n\n提出\n\n[String]\n[Character]"
url: "https://hashnode.com/posts/algo887-q5-matching-parenthesis-1-swift/6269da25aedfbdb0ce1a6957"
---

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

Discussion

# [アルゴ式: 887 Q5. 括弧列の対応関係 (1) (Swift)](https://continuous-tumbling.com/algo887-q5-matching-parenthesis-1-swift?utm_source=hashnode&utm_medium=feed)

Q5. 括弧列の対応関係 (1) スタックをイメージしつつ、深さを測るだけで良いので、スタックを使わずに解いてしまった 最初、enumでCharacter指定ができなかったのと、配列にした方が解きやすいかなと思って提出 その後、もう一度試したら結局何も問題なく解けた enumeratedを忘れがちだからいつでも引き出せるようになりたい parenthesisのスペルが覚えられない 提出 \[String\] \[Character\]

Apr 28, 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.
