Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    \$\begingroup\$ Test case input 2 results in ㅑㅜㅔㅕㅅ 2 instead of ㅑㅞㅕㅅ 2 in your TIO. Although the same happens in the solution I was working on, since both and are jungseong, and I was under the impression only choseong+jungseong+jongseong or choseong+jungseong+empty would be combined. I asked OP for verification why ㅜㅔ became . \$\endgroup\$ Commented May 27, 2019 at 8:09
  • \$\begingroup\$ @KevinCruijssen ㅞ (np) is a jungseong in its own right \$\endgroup\$ Commented May 27, 2019 at 11:39
  • 1
    \$\begingroup\$ This doesn’t seem to work properly for two character consonants or vowels. For example fnpfa should be a single character but instead ends up as 루ㅔㄹㅁ \$\endgroup\$ Commented May 28, 2019 at 1:07
  • \$\begingroup\$ Fix in progress. It shouldn't cost too much. \$\endgroup\$ Commented May 28, 2019 at 5:05