# Algo式: 831 (Swift)

## [Task 831](https://algo-method.com/tasks/831)

- 先日、教えてもらった [Nil Coalescing Operator][NCO]を活用できて安心
- 実装は素直にreverseを使って
- Dequeを使えばreverseをしたときに処理する端を入れ替えるということができるのか
- [koherさんのサポートライブラリ][asl]を勉強する時間作りたいな

[NCO]: https://docs.swift.org/swift-book/LanguageGuide/BasicOperators.html#ID72
[asl]: https://github.com/koher/swift-atcoder-support
[editorial]: https://algo-method.com/tasks/831/editorial

### 提出

- [AC](https://algo-method.com/submissions/354964)
