The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

1

Charcoal, 80 bytes F”&→∧⁶⍘⎚%γD¦ρJG”F”E⎇↓Nη⊙��⭆Ws@}4”F”E↖hY9 t⟧⊙γIO↶5ε∧¬⁶⦃”Φθ⁼℅μΣ⟦⁴⁴⁰³²×⌕βι⁵⁸⁸⍘⁺κλ²⁸ Try it online! Link is to verbose version of code. Explanation: Works by generating all 11172 Hangul syllables in North Korean dictionary order and checking to see which ones are present in the input (so all other characters get deleted; also somewhat ...


1

05AB1E, 47 45 38 bytes Σ•¡®šúIтÝ„Š’#„λ†x!·“•4B33¡€.ā`ââyÇ68+è Try it online! Σ # sort characters of the input by: •...• # compressed integer 13096252834522000035292405913882127943177557 4B # converted to base 4: 211211121231211111033010101010231002310010331121111111111111111121111111 ...


7

JavaScript (ES6),  150 148  137 bytes Saved 10 bytes thanks to @Grimy I/O: arrays of characters. a=>a.map(c=>"ANBCODEFPGQSHRIJKLM"[(n=c.charCodeAt()-44032)/588|0]+"AKBLCMDNERTOFGSUPHIQJ"[n/28%21|0]+~(n%28%18==2)+c).sort().map(s=>s[4]) Try it online! Splitting Hangul syllables Given a Hangul character of code point 0xAC00 + \$n\$, the ...


Top 50 recent answers are included