# アルゴ式: 895 Q2. 兄弟は誰だ？ (2) (Swift)

## [Q2. 兄弟は誰だ？ (2)](https://algo-method.com/tasks/895)

- 前回の問題で順番がわからなくなっている版
- ソートは前回でもしていたのでほぼ変わらず
- 同じ間違いもしなかった
- メモ化はしなくても解けるのだろうけど、なんとなくしたくなってしまう
- [解説][editorial]のoutput<sub>max</sub>は空白区切りの処理ってことかな？

[editorial]: https://algo-method.com/tasks/895/editorial

### 提出

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