"Thanks for taking the time for this interview. Let's start with a simple whiteboard algorithm: can you reverse this string?"
Are we assuming ASCII? If not, define "reversal". Strings encode language, does the resulting sentence need to be meaningful? How do you "reverse" a sentence? Should we bring freetype2 and render the text mirrored horizontally, like text written on glass when viewed from behind? Or should we replace the words with antonyms? Or reverse the contractions, e.g. do -> don't? What about non-English languages? Does RTL text become LTR? What about languages which are written top-down in some contexts, like Chinese or Japanese? I'm only familiar with the semantics of a handful of languages, can we poll the rest of the office to find people who know others? Or maybe you mean we should construct a model of spacetime/linguistics in which language is time-symmetric. That's a cool idea for a conlang, actually. Do you have a copy of the Silmarillion handy?
@sir strings aren't even real
@sir yes but how long is it?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!