Posts by qwr
x86-32 assembly, 14 bytes Straightforward solution with custom calling convention: inputs in eax and ebx, output in eax. cmp opcode could be smaller if limited to 8-bit integers? 00000000 <add...
Python, 16 bytes lambda s:s[::-1] Attempt This Online!
R + magrittr, 31 bytes .%>%utf8ToInt%>%rev%>%intToUtf8
R, 32 bytes \(s)intToUtf8(rev(utf8ToInt(s))) Attempt This Online!
Standard ML, 23 bytes implode o rev o explode